1
This commit is contained in:
@@ -26,7 +26,7 @@ func init() {
|
|||||||
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||||
|
|
||||||
//商超
|
//商超
|
||||||
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_nKRD_-zSJlSpJioPyDNKSg") //token_n4TwqCntWWuvQwAawzxC0w
|
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_oykg1P9VsKENT_EhUFtIxQ")
|
||||||
//cookieStr := `
|
//cookieStr := `
|
||||||
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
||||||
//`
|
//`
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ func TestRetailListCase(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRetailGet(t *testing.T) {
|
func TestRetailGet(t *testing.T) {
|
||||||
orderDetail, _ := api.OrderGetOrderDetail(2201338341781067927, false)
|
orderDetail, _ := api.OrderGetOrderDetail(4101393090068943089, false)
|
||||||
if addressFee, ok := orderDetail["address_change_fee"]; ok {
|
if addressFee, ok := orderDetail["address_change_fee"]; ok {
|
||||||
fmt.Println(addressFee)
|
fmt.Println(addressFee)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ const (
|
|||||||
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
|
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
|
||||||
PeiSongTypeQiKe = "4015" // 企客远距离配送
|
PeiSongTypeQiKe = "4015" // 企客远距离配送
|
||||||
PeiSongTypeMixedExpressQiKe = "30012002" // 混合快送
|
PeiSongTypeMixedExpressQiKe = "30012002" // 混合快送
|
||||||
|
PeiSongTypeFranchise = "30011001" // 混合加盟送
|
||||||
)
|
)
|
||||||
|
|
||||||
func (a *API) ShippingSave(poiCode string, area string, minPrice, shippingFee float32) (err error) {
|
func (a *API) ShippingSave(poiCode string, area string, minPrice, shippingFee float32) (err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user