|
@@ -261,7 +261,7 @@ public class UserLogic {
|
|
|
if (mobile.length() != 11) {
|
|
|
throw new RemoteServiceException(errPrefix + "手机号格式不正确");
|
|
|
}
|
|
|
- UserTypeEnum userTypeEnum = BaseEnum.valueToEnum(UserTypeEnum.class, "WORKER");
|
|
|
+ UserTypeEnum userTypeEnum = BaseEnum.valueToEnum(UserTypeEnum.class, "师傅");
|
|
|
if (Objects.isNull(userTypeEnum) || userTypeEnum == UserTypeEnum.GENERAL) {
|
|
|
throw new RemoteServiceException(errPrefix + "用户类型填写不合规,请填写【师傅】或者【分销员】");
|
|
|
}
|