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_jPU0YJIxluuj-4M4iq5DZQ") //token_n4TwqCntWWuvQwAawzxC0w
|
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_v-zI40EPjPfXLmaKdgRPqA") //token_n4TwqCntWWuvQwAawzxC0w
|
||||||
cookieStr := `
|
cookieStr := `
|
||||||
acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
||||||
`
|
`
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ func TestOrderViewStatus(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestOrderGetOrderDetail(t *testing.T) {
|
func TestOrderGetOrderDetail(t *testing.T) {
|
||||||
result, err := api.OrderGetOrderDetail(1100687990339131759, false)
|
result, err := api.OrderGetOrderDetail(1100692033635137950, false)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ const (
|
|||||||
PeiSongTypeKuaiDi = "2002" // 快送
|
PeiSongTypeKuaiDi = "2002" // 快送
|
||||||
PeiSongTypeWholeCity = "2010" // 全城送
|
PeiSongTypeWholeCity = "2010" // 全城送
|
||||||
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
|
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
|
||||||
|
PeiSongTypeQiKe = "4015" // 企客远距离配送
|
||||||
)
|
)
|
||||||
|
|
||||||
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