This commit is contained in:
苏尹岚
2020-11-10 10:51:34 +08:00
parent 1ddd2d7362
commit 801850f1f7
4 changed files with 42 additions and 4 deletions

View File

@@ -284,8 +284,8 @@ 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 GetUser(ctx *jxcontext.Context, userID string) (user *dao.GetUserResult, err error) {
return dao.GetUser(dao.GetDB(), userID)
}
func checkUserType(userID string, userType int8) (err error) {