Commit 1e9a515e by 宋毅

添加日志

parent 4122c4b8
......@@ -49,7 +49,6 @@ class RegCenterOrderService extends AppServiceBase {
}
async regPaySuccess(pobj) {
var sobj = {
actionType: "getRegProducePrice",
actionBody: {
......@@ -61,7 +60,6 @@ class RegCenterOrderService extends AppServiceBase {
appInfo: pobj.appInfo,
actionProcess: pobj.actionProcess
}
//TODO:加日志
var url = settings.centerAppUrl() + "action/opProduct/springBoard";
var rtn = await this.execClient.execPost(sobj, url);
if (!rtn || !rtn.stdout) {
......@@ -85,7 +83,7 @@ class RegCenterOrderService extends AppServiceBase {
orderStatus: 2
}
var orderrtn = await this.utilsOrderSve.addOrder(pobj, pobj.actionBody);
//TODO:加日志
this.execClientNew.execLogs(`regOrderStatusRegPaySuccess`, pobj, "center-channel-regCenterOrderSve-regPaySuccess", orderrtn, null);
if (orderrtn.status != 0 && orderrtn.status != -1) {
return system.getResultFail(-5012, "订单创建失败");
}
......@@ -297,7 +295,6 @@ class RegCenterOrderService extends AppServiceBase {
//状态更新
async regOrderStatus(pobj) {
//TODO:加日志
var actionBody = pobj.actionBody;
var self = this;
if (actionBody.isDirectBuy && actionBody.isDirectBuy == 1) {
......@@ -313,6 +310,7 @@ class RegCenterOrderService extends AppServiceBase {
pobj.actionType = "regOrderStatus";
var url = settings.centerOrderUrl() + "action/regapi/springBoard";
var rtn = await this.restPostUrl(pobj, url);
this.execClientNew.execLogs(`regOrderStatusUpdate`, pobj, "center-channel-regCenterOrderSve-reqCenterOrder-regOrderStatus", rtn, null);
if (actionBody.status == 2) {
var deliveryObj = {
actionBody: {
......
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