修复部分错误
This commit is contained in:
parent
9d8012f1f2
commit
8fec641ffd
@ -577,7 +577,7 @@ func FindUserList(req *artistInfoUser.FindUsersRequest) (rep []*artistInfoUser.U
|
|||||||
tx = tx.Where("is_lock=true")
|
tx = tx.Where("is_lock=true")
|
||||||
}
|
}
|
||||||
if req.ArtistRealName != "" {
|
if req.ArtistRealName != "" {
|
||||||
tx = tx..Clauses(clause.Like{
|
tx = tx.Clauses(clause.Like{
|
||||||
Column: "rn.name",
|
Column: "rn.name",
|
||||||
Value: "%" + req.ArtistRealName + "%",
|
Value: "%" + req.ArtistRealName + "%",
|
||||||
})
|
})
|
||||||
@ -1115,7 +1115,7 @@ type inviteStatic struct {
|
|||||||
InvitedCount int64 `gorm:"column:invited_count"`
|
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{
|
res = &artistInfoUser.GetInviteStaticListResponse{Data: []*artistInfoUser.GetInviteStaticListData{}, Page: &artistInfoUser.UserCommonPageInfo{
|
||||||
Page: int32(in.Page),
|
Page: int32(in.Page),
|
||||||
PageSize: int32(in.PageSize),
|
PageSize: int32(in.PageSize),
|
||||||
|
Loading…
Reference in New Issue
Block a user