Commit ac32940a by Sxy

优化流程

parent 9667fd23
......@@ -125,22 +125,22 @@ class DeliverService extends ServiceBase {
status = system.SERVERSESTATUS.DISPOSEING;
txstatus = pushTx.TXSTATUS.DISPOSEING;
break;
// case system.SERVERSESTATUS.DISPOSEING:
// const { material, qualification } = deliverData;
// const { proposerInfo: { recipientInfo } } = material;
// if (!qualification) {
// materialInfo.qualification = qualification
// }
// if (!recipientInfo) {
// materialInfo.recipientInfo = {
// ...recipientInfo,
// phone: encryptStr(recipientInfo.phone),
// }
// }
// status = system.SERVERSESTATUS.SUCCESS;
// txstatus = pushTx.TXSTATUS.SUCCESS;
// break;
case system.SERVERSESTATUS.DISPOSEING:
const { material, qualification } = deliverData;
const { proposerInfo: { recipientInfo } } = material;
if (!qualification) {
materialInfo.qualification = qualification
}
if (!recipientInfo) {
materialInfo.recipientInfo = {
...recipientInfo,
phone: encryptStr(recipientInfo.phone),
}
}
status = system.SERVERSESTATUS.POSTING;
txstatus = pushTx.TXSTATUS.POSTING;
break;
case system.SERVERSESTATUS.POSTING:
status = system.SERVERSESTATUS.SUCCESS;
txstatus = pushTx.TXSTATUS.SUCCESS;
break;
......
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