Commit 2f7152e1 by 庄冰

channelTypeCode

parent 5dd8a3a1
...@@ -38,15 +38,11 @@ class NeedsolutionService extends ServiceBase { ...@@ -38,15 +38,11 @@ class NeedsolutionService extends ServiceBase {
if(!bizType || !needinfo.typeCode || bizType!=needinfo.typeCode){ if(!bizType || !needinfo.typeCode || bizType!=needinfo.typeCode){
return system.getResultFail(-205,"方案类型错误"); return system.getResultFail(-205,"方案类型错误");
} }
if(bizType=="gszc"){//普通公司注册 if(!needinfo.channelTypeCode){
ab.solutionContent.bizType="esp.companyreg"; return system.getResultFail(-206,"渠道方案类型错误");
bizType = "esp.companyreg";
}else if(bizType=="ysgszc"){//云上公司注册
ab.solutionContent.bizType="esp.companyreg_cloud";
bizType = "esp.companyreg_cloud";
}else{
return system.getResultFail(-206,"方案类型错误");
} }
ab.solutionContent.bizType=needinfo.channelTypeCode;
bizType =needinfo.channelTypeCode;
// bizType取值如下: // bizType取值如下:
// 商标交易:esp.trademark_trade // 商标交易:esp.trademark_trade
// 财税代账:esp.bookkeeping // 财税代账:esp.bookkeeping
......
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