Commit e75c85c7 by 宋毅

tj

parent 328c2b23
...@@ -243,15 +243,15 @@ class tmqueryCtl extends CtlBase { ...@@ -243,15 +243,15 @@ class tmqueryCtl extends CtlBase {
} }
} }
async opPayPageInfo(pobj, req) { async opPayPageInfo(pobj, req) {
if (!pobj.itemCode) { if (!pobj.actionBody.itemCode) {
return system.getResult(null, "itemCode param is not empty"); return system.getResult(null, "itemCode param is not empty");
} }
if (pobj.actionProcess == "jd") { if (pobj.actionProcess == "jd") {
var itemCodeList = pobj.itemCode.spilt('-'); var itemCodeList = pobj.actionBody.itemCode.spilt('-');
if (itemCodeList.length < 2) { if (itemCodeList.length < 2) {
return system.getResult(null, "itemCode is error"); return system.getResult(null, "itemCode is error");
} }
var tmpResult = await this.opJdOrder(pobj.itemCode, itemCodeList, req); var tmpResult = await this.opJdOrder(pobj.actionBody.itemCode, itemCodeList, req);
// { result: true, // { result: true,
// data: // data:
// '{"success":true,"code":null,"msg":null,"data":{"orderNumber":"6058867","erpOrderId":"523198741458590844", // '{"success":true,"code":null,"msg":null,"data":{"orderNumber":"6058867","erpOrderId":"523198741458590844",
......
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