微信发货管理 bug 修改,更改下单的一些逻辑
This commit is contained in:
parent
ca62541fdf
commit
9ca7555ad3
@ -264,11 +264,11 @@ public class ShopOrderLogisticsServiceImpl extends BaseServiceImpl<ShopOrderLogi
|
||||
Integer kindId = order_info_row.getKind_id();
|
||||
//物流模式,发货方式枚举值:1、实体物流配送采用快递公司进行实体物流配送形式 2、同城配送 3、虚拟商品,虚拟商品,例如话费充值,点卡等,无实体配送形式 4、用户自提
|
||||
Integer logisticsType = 1;
|
||||
if (kindId != null && (kindId.equals(1202) || kindId.equals(1203))) {
|
||||
if (kindId != null && (kindId.equals(StateCode.PRODUCT_KIND_FUWU) || kindId.equals(StateCode.PRODUCT_KIND_CARD))) {
|
||||
logisticsType = 3;
|
||||
}
|
||||
|
||||
if (deliveryType != null && deliveryType.equals(5)) {
|
||||
if (deliveryType != null && deliveryType.equals(StateCode.DELIVERY_TYPE_SELF_PICK_UP)) {
|
||||
logisticsType = 4;
|
||||
}
|
||||
|
||||
|
||||
@ -124,7 +124,6 @@ public class WxOrderShippingServiceImpl implements WxOrderShippingService {
|
||||
shippingItem.putOpt("contact", new JSONObject()
|
||||
.set("receiver_contact", receiverContact));
|
||||
|
||||
|
||||
// Step 4: Prepare request payload
|
||||
JSONArray shippingList = new JSONArray().put(shippingItem);
|
||||
// String mchId = orderBaseInfo.getMch_id();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user