Commit 53f2c7c0 by 任晓松

update

parent d24e31c8
......@@ -16,7 +16,7 @@ class utilsDeliverSve extends AppServiceBase{
*/
async pushTmReDeliver(pobj){
try{
var verifyResult = await this.verifyParam(pobj);
var verifyResult = await this.verifyParam(pobj.actionBody);
if(verifyResult.status !=0){
return system.getResultFail();
}
......@@ -35,14 +35,13 @@ class utilsDeliverSve extends AppServiceBase{
* @returns {Promise<{msg: *, data, status: number}>}
*/
async verifyParam(actionBody) {
let verify = system.getResultSuccess();
let deliveryData ="";
let orderNo = "";
let tradeStatus = '';
let applicant ={};
if(actionBody.delivery_content){
deliveryData = actionBody.delivery_content[0].deliveryContent;
orderNo = actionBody.delivery_content[0].sourceOrderNo;
deliveryData = actionBody.delivery_content;
orderNo = actionBody.order_info.orderNo;
}
if(actionBody.deliveryData){
deliveryData = actionBody.deliveryData;
......@@ -89,8 +88,8 @@ class utilsDeliverSve extends AppServiceBase{
askForData:deliveryData.askForData,
supData:deliveryData.supData
}
verify.data = postData;
return verify;
return system.getResultSuccess(postData);
}
/**
......
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