aa
This commit is contained in:
@@ -429,7 +429,7 @@ func CreateUser(user *model.User, creatorName string) (err error) {
|
||||
}
|
||||
if user.Mobile == nil && user.Name == "" {
|
||||
globals.SugarLogger.Debugf("CreateUser err 多半是支付宝的问题, user", utils.Format4Output(user, true))
|
||||
return err
|
||||
return fmt.Errorf("err")
|
||||
}
|
||||
dao.WrapAddIDCULDEntity(user, creatorName)
|
||||
user.UserID = utils.GetUUID()
|
||||
|
||||
Reference in New Issue
Block a user