1
This commit is contained in:
@@ -57,13 +57,15 @@ var (
|
||||
|
||||
const (
|
||||
DeliveryServiceCodeSuperRapid = 4002 // 飞速达
|
||||
DeliveryServiceCodeRapid = 100004 // 快速达
|
||||
DeliveryServiceCodeIntime = 100006 // 及时达
|
||||
DeliveryServiceCodeRapid = 100029 // 快速达,时效型
|
||||
DeliveryServiceLocalDa = 100009 // 同城达
|
||||
DeliveryServiceCodeIntime = 100006 // 及时达(这个暂时没用)
|
||||
DeliveryServiceCodeTogether = 4013 // 集中送
|
||||
//DeliveryServiceCodeSuperRapid = 4002 // 飞速达
|
||||
//DeliveryServiceCodeRapid = 4011 // 快速达
|
||||
//DeliveryServiceCodeIntime = 100006 // 及时达
|
||||
//DeliveryServiceCodeTogether = 4013 // 集中送
|
||||
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -64,17 +64,17 @@ func TestCreateOrderByShop(t *testing.T) {
|
||||
DeliveryID: 123456789,
|
||||
OrderID: "order_123456789",
|
||||
// 设置测试门店 id,测试门店的坐标地址为 97235456,31065079(高德坐标),配送范围3km
|
||||
ShopID: "test_0001",
|
||||
DeliveryServiceCode: DeliveryServiceCodeIntime,
|
||||
ReceiverName: "xjh",
|
||||
ReceiverAddress: "九里堤",
|
||||
ReceiverPhone: "18112345678",
|
||||
ReceiverLng: 97235456,
|
||||
ReceiverLat: 31065079,
|
||||
CoordinateType: CoordinateTypeMars,
|
||||
GoodsValue: 12.34,
|
||||
GoodsWeight: 3.4,
|
||||
OrderType: OrderTypeASAP,
|
||||
ShopID: "test_0001",
|
||||
//DeliveryServiceCode: DeliveryServiceCodeIntime,
|
||||
ReceiverName: "xjh",
|
||||
ReceiverAddress: "九里堤",
|
||||
ReceiverPhone: "18112345678",
|
||||
ReceiverLng: 97235456,
|
||||
ReceiverLat: 31065079,
|
||||
CoordinateType: CoordinateTypeMars,
|
||||
GoodsValue: 12.34,
|
||||
GoodsWeight: 3.4,
|
||||
OrderType: OrderTypeASAP,
|
||||
}
|
||||
|
||||
order, err := api.CreateOrderByShop2(basicParams)
|
||||
|
||||
Reference in New Issue
Block a user