Commit 1507ea8c by 宋毅

tj

parent d9ccae62
......@@ -29,7 +29,7 @@ class ReceiveDataAPI extends APIBase {
if (!pobj.actionType) {
return system.getResult(null, "actionType参数不能为空");
}
var result = await this.opActionProcess(pobj.actionProcess, pobj.actionType, pobj.actionBody, req);
var result = await this.opActionProcess(pobj.actionProcess, pobj.actionType, pobj.actionBody, pobj, req);
// var result = null;
// switch (pobj.actionProcess) {
// case "jd"://京东
......
......@@ -30,7 +30,7 @@ class TmOrderAPI extends APIBase {
if (!pobj.actionType) {
return system.getResult(null, "actionType参数不能为空");
}
var result = await this.opActionProcess(pobj.actionProcess, pobj.actionType, pobj.actionBody, req);
var result = await this.opActionProcess(pobj.actionProcess, pobj.actionType, pobj.actionBody, pobj, req);
// var result = null;
// switch (pobj.actionProcess) {
// case "jd"://京东
......@@ -229,20 +229,20 @@ class TmOrderAPI extends APIBase {
break;
case "getCAProductDetail"://根据渠道产品码获取产品详情 ---应用中心
// opResult = await this.appProductSve.findByChannelItemCode(action_body);
pobj["app"] =req.appInfo;
pobj["appInfo"] =req.appInfo;
pobj["app"] = req.appInfo;
pobj["appInfo"] = req.appInfo;
opResult = await this.appProductSve.getProductDetailByCode(pobj);
break;
case "getCAProductListByTypeOneCode"://获取产品列表(根据产品一类编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductOneTypeCode(action_body);
pobj["app"] = req.appInfo;
pobj["appInfo"] =req.appInfo;
pobj["appInfo"] = req.appInfo;
opResult = await this.appProductSve.findByTypeOneCode(pobj);
break;
case "getCAProductListByTypeCode"://获取产品列表(根据父类产品编码获取) ---应用中心
// opResult = await this.appProductSve.findByProductTypeCode(action_body);
pobj["app"] = req.appInfo;
pobj["appInfo"] =req.appInfo;
pobj["appInfo"] = req.appInfo;
opResult = await this.appProductSve.findByTypeCode(pobj);
break;
case "subGsbOrderInfo"://提交公司宝订单信息
......
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