sfps
This commit is contained in:
@@ -330,7 +330,7 @@ type PreCancelOrderResp struct {
|
||||
DeliveryType float64 `json:"delivery_type"` //订单类型 0:预约送达单,1:立即单,2:预约上门单
|
||||
ExpectPickUpTime float64 `json:"expect_pickup_time"` //原始期望上门时间
|
||||
ExpectTime float64 `json:"expect_time"` //预约时间
|
||||
ShopCancelTimes string `json:"shop_cancel_times"` //店铺每日取消次数
|
||||
ShopCancelTimes float64 `json:"shop_cancel_times"` //店铺每日取消次数
|
||||
FreeCancelTimes float64 `json:"free_cancel_times"` //每日免费取消次数
|
||||
IsCancelChargePriceRule float64 `json:"is_cancel_charge_price_rule"` //取消收费规则
|
||||
IsOverFreeCancelTimes float64 `json:"is_over_free_cancel_times"` //是否超出免费取消次数
|
||||
|
||||
@@ -80,7 +80,7 @@ func TestCreateOrder(t *testing.T) {
|
||||
},
|
||||
RiderPickMethod: 1,
|
||||
}
|
||||
sfOrderID, sfBillID, totalPrice, err := api.CreateOrder(param)
|
||||
sfOrderID, sfBillID, totalPrice, err, _ := api.CreateOrder(param)
|
||||
fmt.Println(sfOrderID, sfBillID)
|
||||
fmt.Println(totalPrice)
|
||||
fmt.Println(err)
|
||||
@@ -88,7 +88,7 @@ func TestCreateOrder(t *testing.T) {
|
||||
|
||||
//预取消订单
|
||||
func TestPreCancelOrder(t *testing.T) {
|
||||
resp, err := api.PreCancelOrder("JS4157196256886")
|
||||
resp, err := api.PreCancelOrder("JS4157236257228")
|
||||
fmt.Println(resp)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user