Commit b50314f3 by 宋毅

tj

parent a35917aa
...@@ -41,6 +41,7 @@ class APIBase { ...@@ -41,6 +41,7 @@ class APIBase {
pobj: pobj, pobj: pobj,
query: query query: query
} }
console.log(JSON.stringify(param),".....base........req...........")
try { try {
var result = await this[methodname](pobj, query, req); var result = await this[methodname](pobj, query, req);
if (!result) { if (!result) {
......
...@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase { ...@@ -116,7 +116,7 @@ class OrderInfoService extends ServiceBase {
} }
//发货回调 //发货回调
async orderPayNotifydev(pobj) { async orderPayNotify(pobj) {
if (!pobj.actionBody.interface || !pobj.actionBody.interface.para) { if (!pobj.actionBody.interface || !pobj.actionBody.interface.para) {
return system.getResultFail(-101, "参数错误"); return system.getResultFail(-101, "参数错误");
} }
...@@ -297,7 +297,7 @@ class OrderInfoService extends ServiceBase { ...@@ -297,7 +297,7 @@ class OrderInfoService extends ServiceBase {
return corder; return corder;
} }
async orderPayNotify(pobj) { async orderPayNotifydev(pobj) {
if (!pobj.actionBody.interface || !pobj.actionBody.interface.para) { if (!pobj.actionBody.interface || !pobj.actionBody.interface.para) {
return system.getResultFail(-101, "参数错误"); return system.getResultFail(-101, "参数错误");
} }
...@@ -625,6 +625,7 @@ class OrderInfoService extends ServiceBase { ...@@ -625,6 +625,7 @@ class OrderInfoService extends ServiceBase {
sql += " and price_name like :priceName;"; sql += " and price_name like :priceName;";
} }
var txprice = await this.customQuery(sql, sqlobj); var txprice = await this.customQuery(sql, sqlobj);
console.log(txprice,".....txprice...........");
if (txprice && txprice.length > 0) { if (txprice && txprice.length > 0) {
goodsSubType = txprice[0].goodsSubType; goodsSubType = txprice[0].goodsSubType;
pid = txprice[0].pid; pid = txprice[0].pid;
......
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