aa
This commit is contained in:
@@ -200,6 +200,7 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
|
||||
if inAuthInfo != nil {
|
||||
if inAuthInfo.AuthBindInfo.Type == dingding.AuthTypeStaff {
|
||||
user.Type |= model.UserTypeOperator
|
||||
user.Type |= model.UserTypeRole
|
||||
} else if user.Mobile != nil {
|
||||
user.Type |= model.UserTypeStoreBoss
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user