增加调试信息
This commit is contained in:
parent
5475034aaa
commit
e19bc5bd12
@ -974,6 +974,7 @@ func GetInvitedUserList(in *artistInfoUser.GetInvitedUserListRequest) (res *arti
|
|||||||
if in.RealName != "" {
|
if in.RealName != "" {
|
||||||
orm = orm.Where("rn.name like ?", "%"+in.RealName+"%")
|
orm = orm.Where("rn.name like ?", "%"+in.RealName+"%")
|
||||||
}
|
}
|
||||||
|
fmt.Println("in.RealName", in.RealName)
|
||||||
if in.Keyword != "" {
|
if in.Keyword != "" {
|
||||||
searchWords := "%" + in.Keyword + "%"
|
searchWords := "%" + in.Keyword + "%"
|
||||||
orm = orm.Where("rn.name like ? OR sys_user.tel_num LIKE ? or sys_user.invited_code LIKE ?", searchWords, searchWords, searchWords)
|
orm = orm.Where("rn.name like ? OR sys_user.tel_num LIKE ? or sys_user.invited_code LIKE ?", searchWords, searchWords, searchWords)
|
||||||
|
Loading…
Reference in New Issue
Block a user