This commit is contained in:
苏尹岚
2020-11-10 10:38:25 +08:00
parent 32cecd0e98
commit 1aaeab99cc
3 changed files with 26 additions and 5 deletions

View File

@@ -284,6 +284,10 @@ func GetUsers(ctx *jxcontext.Context, userType int, keyword string, userIDs []st
return pagedInfo, err
}
func GetUser(ctx *jxcontext.Context, userID string) (user *model.User, err error) {
return user, err
}
func checkUserType(userID string, userType int8) (err error) {
userList, _, err := dao.GetUsers(dao.GetDB(), 0, "", []string{userID}, nil, nil, 0, 0)
if err != nil {