Commit 0a51d9bc by 陈思聪

feat: 阿里双呼接入,如果是阿里云商机,去掉手机号校验

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