Commit 16415dba by qwmqiuwenmin

fix

parent 0c53ba5e
...@@ -271,7 +271,7 @@ public class ClerkController extends WebBaseController{ ...@@ -271,7 +271,7 @@ public class ClerkController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_10004); return resultResponse(HaoBanErrCode.ERR_10004);
} }
if(StringUtils.isBlank(phoneNumber)){ if(StringUtils.isBlank(phoneNumber)){
return resultResponse(HaoBanErrCode.ERR_10012); return resultResponse(HaoBanErrCode.ERR_10014);
} }
if(!GooglePhoneNumberUtil.checkPhoneNumber(phoneNumber, nationcode)){ if(!GooglePhoneNumberUtil.checkPhoneNumber(phoneNumber, nationcode)){
return resultResponse(HaoBanErrCode.ERR_10012); return resultResponse(HaoBanErrCode.ERR_10012);
......
...@@ -196,6 +196,7 @@ public enum HaoBanErrCode { ...@@ -196,6 +196,7 @@ public enum HaoBanErrCode {
ERR_10011(10011,"每月最多可刷新4次"), ERR_10011(10011,"每月最多可刷新4次"),
ERR_10012(10012,"手机号格式不正确"), ERR_10012(10012,"手机号格式不正确"),
ERR_10013(10013,"code已经存在"), ERR_10013(10013,"code已经存在"),
ERR_10014(10014,"请输入手机号"),
ERR_999(999, "操作失败"), ERR_999(999, "操作失败"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment