aa
This commit is contained in:
@@ -22,10 +22,10 @@ func init() {
|
||||
// api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
|
||||
|
||||
// 果园
|
||||
// api = New("4123", "df2c88338b85f830cebce2a9eab56628", "")
|
||||
api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||
|
||||
//商超
|
||||
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_gYtTGPVDP6pTDLECwp1BFA") //token_nH_IlcWQKAkZBqklwItNRw
|
||||
// api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_gYtTGPVDP6pTDLECwp1BFA") //token_nH_IlcWQKAkZBqklwItNRw
|
||||
cookieStr := `
|
||||
acctId=62884810; token=0_0_vJux6rcmm0XIzoI885_aew-gnfofUw9SR-a-QkLw*; brandId=-1; wmPoiId=-1;
|
||||
`
|
||||
@@ -57,7 +57,7 @@ func TestGetAccessToken(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetAccessToken2(t *testing.T) {
|
||||
result, err := api.GetAccessToken2("10874383")
|
||||
result, err := api.GetAccessToken("code_nsX2gj8sQFcB0bYr0iVJtg")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ func TestOrderGetOrderDetail(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestOrderGetOrderDetail2(t *testing.T) {
|
||||
result, err := api.OrderGetOrderDetail2(93475541926981203, false)
|
||||
result, err := api.OrderGetOrderDetail2(98467110652448221, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -10,6 +10,12 @@ import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
MtwmSCTag = "13030000"
|
||||
MtwmC4Tag = "11010000"
|
||||
MtwmSGTag = "10010000"
|
||||
)
|
||||
|
||||
type PoiCategoryInfo struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
@@ -204,7 +210,7 @@ type MultiPoiBasicInfo struct {
|
||||
Address string `json:"address"`
|
||||
Longitude string `json:"longitude"`
|
||||
Latitude string `json:"latitude"`
|
||||
FirstTag int `json:"first_tag"`
|
||||
FirstTag string `json:"first_tag"`
|
||||
CallCenter string `json:"call_center"`
|
||||
ContactName string `json:"contact_name"`
|
||||
ContactPhone string `json:"contact_phone"`
|
||||
@@ -234,7 +240,7 @@ type MultiPoiCertInfo struct {
|
||||
type MultiPoiShippingInfo struct {
|
||||
ShippingType int `json:"shipping_type"`
|
||||
MinPrice float64 `json:"min_price"`
|
||||
ShippingFee string `json:"shipping_fee"`
|
||||
ShippingFee float64 `json:"shipping_fee"`
|
||||
}
|
||||
|
||||
//https://open-shangou.meituan.com/home/docDetail/530
|
||||
|
||||
Reference in New Issue
Block a user