记得上下班打卡 | git大法好,push需谨慎

Commit eaab4a28 authored by jiangxiulong's avatar jiangxiulong

发快递下单判断用户选择的快递类型

parent 5fc87582
...@@ -222,8 +222,14 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres ...@@ -222,8 +222,14 @@ public class PerformancesExpressServiceImpl extends ServiceImpl<KylinOrderExpres
hBody.put("jCity", jCity); hBody.put("jCity", jCity);
hBody.put("jAddress", jAddress); hBody.put("jAddress", jAddress);
// TODO: 2021/6/30 前端选择 // 1寄付|2到付|3包邮
hBody.put("payMethod", "2");// 运费付款方式:0-寄付月结;1-寄付现结;2-收方付;3-第三方付; // 运费付款方式:0-寄付月结;1-寄付现结;2-收方付;3-第三方付;
if (orderStatus.getExpressType() == 1 || orderStatus.getExpressType() == 3) {
hBody.put("payMethod", "0");
} else {
hBody.put("payMethod", "2");
}
hBody.put("expressType", expressType.toString());// 顺丰特快 hBody.put("expressType", expressType.toString());// 顺丰特快
hBody.put("depositumInfo", depositumInfo); hBody.put("depositumInfo", depositumInfo);
......
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