Commit ef5dfe40 by linboxuan

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

parents 052d61b2 192f94a6
......@@ -63,7 +63,7 @@ class Need extends APIBase {
break;
case "icpNotify"://icp方案更新
opResult = await this.utilsNeedSve.icpNotify(pobj, pobj.actionBody);
if (opResult.status == 0 && pobj.actionBody.status == 2) {
if (opResult.status == 0 && pobj.actionBody.status == 1) {
opResult = await self.centerorderSve.icppaysuccess(pobj, pobj.actionBody);
}
break;
......
......@@ -283,7 +283,7 @@ class CenterorderService extends AppServiceBase {
city: pobj.actionBody.province,
regType: pobj.actionBody.regType,
orderNo: pobj.actionBody.channelOrder.channelOrderNo,
orderPrice: pobj.actionBody.orderPrice,
orderPrice: Number(pobj.actionBody.orderPrice/100) ,
phone: pobj.actionBody.publishMobile,
needId: solutiondata.data.channelNeedNo
},
......
......@@ -274,7 +274,7 @@ class UtilsNeedService extends AppServiceBase {
pobj.actionType = "receiveIcpStatusNotify";
var url = settings.centerOrderUrl() + "action/qcapi/springBoard";
var rtn = await this.restPostUrl(pobj, url);
if (rtn.status == 0 && actionBody.status != 2 && rtn.data) {
if (rtn.status == 0 && actionBody.status != 1 && rtn.data) {
var tmpObj = {
actionBody: {
orderNo: rtn.data.orderNo,
......
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