Commit 988f1479 by 任晓松

update 360push

parent 787d842b
......@@ -20,11 +20,14 @@ class Push360Service extends AppBase{
sub_status = 6;
}
//已递交
if (actionBody.tmStatus == "ROBOT" || actionBody.tmStatus == "ROBOTPAY") {
if (actionBody.tmStatus == "ROBOT" || actionBody.tmStatus == "ROBOTPAY" || actionBody.tmStatus == "ydj") {
sub_status = 7;
}
if (['1','2','3','5','6','9'].includes(actionBody.tmStatus)) {
sub_status = 7;
}
//已完成
if (actionBody.tmStatus == "RECVCOMMIT" || actionBody.tmStatus == "ydj") {
if (actionBody.tmStatus == "RECVCOMMIT" || ['4','7','8','12','13'].includes(actionBody.tmStatus) ) {
sub_status = 8;
status = 40;
}
......@@ -41,7 +44,7 @@ class Push360Service extends AppBase{
pushObj = {
order_id: order_id,
status: status,
sub_status:sub_status
sub_status:sub_status || 5
}
result = await this.execPostByTimeOut(null,pushObj, url);
if (result.status != 0) {
......
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