Commit 1e9a515e by 宋毅

添加日志

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