This commit is contained in:
邹宗楠
2024-12-23 11:23:44 +08:00
parent 0ad94d882a
commit b57999416a
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_nKRD_-zSJlSpJioPyDNKSg") //token_n4TwqCntWWuvQwAawzxC0w
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_oykg1P9VsKENT_EhUFtIxQ")
//cookieStr := `
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
//`

View File

@@ -189,7 +189,7 @@ func TestRetailListCase(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 {
fmt.Println(addressFee)
}

View File

@@ -27,6 +27,7 @@ const (
PeiSongTypeMixed = "3001" // 混合送(即美团专送+快送)
PeiSongTypeQiKe = "4015" // 企客远距离配送
PeiSongTypeMixedExpressQiKe = "30012002" // 混合快送
PeiSongTypeFranchise = "30011001" // 混合加盟送
)
func (a *API) ShippingSave(poiCode string, area string, minPrice, shippingFee float32) (err error) {