Commit 9ac15f20 by 宋毅

Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel

parents 3abbf3d6 9c5f0334
......@@ -30,6 +30,9 @@ class TmQueryAPI extends WEBBase {
case "test"://测试
opResult = system.getResultSuccess(null, "测试成功");
break;
case "tmTest":
opResult = await this.tmquerySve.test(pobj);
break;
case "findTrademarkNameAccurate"://商标精确检索(相同商标检索)
opResult = await this.tmquerySve.findTrademarkNameAccurate(action_body, req);
break;
......
......@@ -150,5 +150,12 @@ class TmqueryService {
return data;
}
async test(pobj){
let url = settings.centerOrderUrl() + 'notifyaction/internalCallsNotify/updateTmStatus';
let result = await this.execClient.execPost(pobj.actionBody,url);
return result;
}
}
module.exports = TmqueryService;
......@@ -48,9 +48,9 @@ class UtilsOrderService extends AppServiceBase {
}
console.log("buyTotalSum", buyTotalSum)
console.log("totalSum", totalSum)
// if (buyTotalSum < totalSum) {
// return system.getResult(null, "订单金额有误,100060");
// }
if (buyTotalSum < totalSum) {
return system.getResult(null, "订单金额有误,100060");
}
let tmpPriceList = [];
pobj.actionBody.product_info.price_item = price_list[productIndex];
tmpPriceList.push(pobj.actionBody.product_info.price_item);
......
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