Commit bb45a494 by xugaojun

fix:添加导购,导购code校验修改

parent 6523f045
...@@ -260,7 +260,7 @@ public class ClerkController extends WebBaseController{ ...@@ -260,7 +260,7 @@ public class ClerkController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_10012); return resultResponse(HaoBanErrCode.ERR_10012);
} }
// 导购code校验-字母和数字 // 导购code校验-字母和数字
if (!clerkCode.matches("[a-zA-Z0-9]")) { if (!clerkCode.matches("[a-zA-Z0-9]+")) {
return resultResponse(HaoBanErrCode.ERR_10023); return resultResponse(HaoBanErrCode.ERR_10023);
} }
if(version == null){ if(version == null){
......
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