修复部分错误

This commit is contained in:
徐俊杰 2023-03-23 19:40:47 +08:00
parent 9d8012f1f2
commit 8fec641ffd

View File

@ -577,7 +577,7 @@ func FindUserList(req *artistInfoUser.FindUsersRequest) (rep []*artistInfoUser.U
tx = tx.Where("is_lock=true")
}
if req.ArtistRealName != "" {
tx = tx..Clauses(clause.Like{
tx = tx.Clauses(clause.Like{
Column: "rn.name",
Value: "%" + req.ArtistRealName + "%",
})
@ -1115,7 +1115,7 @@ type inviteStatic struct {
InvitedCount int64 `gorm:"column:invited_count"`
}
func GetInviteStaticList(in *artistInfoUser.GetInviteStatkeyicListRequest) (res *artistInfoUser.GetInviteStaticListResponse, err error) {
func GetInviteStaticList(in *artistInfoUser.GetInviteStaticListRequest) (res *artistInfoUser.GetInviteStaticListResponse, err error) {
res = &artistInfoUser.GetInviteStaticListResponse{Data: []*artistInfoUser.GetInviteStaticListData{}, Page: &artistInfoUser.UserCommonPageInfo{
Page: int32(in.Page),
PageSize: int32(in.PageSize),