Commit 07965134 by linboxuan

lin update

parent 32765cbf
...@@ -9,8 +9,8 @@ class Consultation extends APIBase { ...@@ -9,8 +9,8 @@ class Consultation extends APIBase {
this.gatewaypushlogSve = system.getObject("service.common.gatewaypushlogSve"); this.gatewaypushlogSve = system.getObject("service.common.gatewaypushlogSve");
} }
async submit(pobj,req) { async submit(pobj, req) {
if(!pobj.appInfo || !pobj.appInfo.uapp_key || !pobj.appInfo.uapp_secret){ if (!pobj.appInfo || !pobj.appInfo.uapp_key || !pobj.appInfo.uapp_secret) {
return regCfg.getResultFail("未知应用或应用未启用"); return regCfg.getResultFail("未知应用或应用未启用");
} }
if (!pobj.intentionBizId) { if (!pobj.intentionBizId) {
...@@ -22,7 +22,7 @@ class Consultation extends APIBase { ...@@ -22,7 +22,7 @@ class Consultation extends APIBase {
if (!pobj.consultType) { if (!pobj.consultType) {
return regCfg.getResultFail("consultType不能为空"); return regCfg.getResultFail("consultType不能为空");
} }
pobj.type = pobj.consultType; pobj.type = pobj.consultType;// 这里在channel getProductTypeInfo 用到
// pobj.mobile = pobj.phone;//百度公司注册提交需求根据geteway中regCenterOrderSve文件reqcenterchannel2方法判断隐藏mobile字段 // pobj.mobile = pobj.phone;//百度公司注册提交需求根据geteway中regCenterOrderSve文件reqcenterchannel2方法判断隐藏mobile字段
pobj.action_type = "submitRegNeed"; pobj.action_type = "submitRegNeed";
if (pobj.area) { if (pobj.area) {
......
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