Commit b25167ad by 陈思聪

fix: 如果是阿里云商机,需要去掉手机号校验

parent 57189663
...@@ -74,8 +74,10 @@ class NeedinfoService extends ServiceBase { ...@@ -74,8 +74,10 @@ class NeedinfoService extends ServiceBase {
if (!actionBody.intentionBizId) { if (!actionBody.intentionBizId) {
return system.getResultFail(-5001, "intentionBizId不能为空"); return system.getResultFail(-5001, "intentionBizId不能为空");
} }
if (!actionBody.mobile) { if(actionBody.appName != '阿里云商机') {
return system.getResultFail(-5002, "mobile不能为空"); if (!actionBody.mobile) {
return system.getResultFail(-5002, "mobile不能为空");
}
} }
if (!actionBody.type) { if (!actionBody.type) {
return system.getResultFail(-5003, "type不能为空"); return system.getResultFail(-5003, "type不能为空");
......
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