1'
This commit is contained in:
@@ -180,7 +180,7 @@ func (p *PurchaseHandler) getOrder(vendorOrgCode, vendorOrderID, vendorStoreID s
|
||||
if err != nil || len(autoTransport) == 0 {
|
||||
order.DeliveryType = model.OrderDeliveryTypePlatform
|
||||
} else {
|
||||
switch autoTransport[utils.Str2Int64(vendorStoreID)].ServiceStatus {
|
||||
switch autoTransport[utils.Str2Int64(vendorStoreIdRelly)].ServiceStatus {
|
||||
case 1: // 1:关闭
|
||||
order.DeliveryType = model.OrderDeliveryTypeStoreSelf
|
||||
case 2: // 开启
|
||||
|
||||
Reference in New Issue
Block a user