This commit is contained in:
邹宗楠
2023-08-24 15:50:58 +08:00
parent 9c2a29c3a4
commit 21697cb84c
3 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ func init() {
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
//商超
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_jPU0YJIxluuj-4M4iq5DZQ") //token_n4TwqCntWWuvQwAawzxC0w
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_v-zI40EPjPfXLmaKdgRPqA") //token_n4TwqCntWWuvQwAawzxC0w
cookieStr := `
acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
`

View File

@@ -19,7 +19,7 @@ func TestOrderViewStatus(t *testing.T) {
}
func TestOrderGetOrderDetail(t *testing.T) {
result, err := api.OrderGetOrderDetail(1100687990339131759, false)
result, err := api.OrderGetOrderDetail(1100692033635137950, false)
if err != nil {
t.Fatal(err)
}

View File

@@ -25,6 +25,7 @@ const (
PeiSongTypeKuaiDi = "2002" // 快送
PeiSongTypeWholeCity = "2010" // 全城送
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
PeiSongTypeQiKe = "4015" // 企客远距离配送
)
func (a *API) ShippingSave(poiCode string, area string, minPrice, shippingFee float32) (err error) {