This commit is contained in:
邹宗楠
2023-02-03 14:55:22 +08:00
parent 1cb89567d4
commit a3179809a2

View File

@@ -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: // 开启