This commit is contained in:
邹宗楠
2023-11-23 13:50:15 +08:00
parent e1a80a862a
commit 8efea314e8
2 changed files with 4 additions and 4 deletions

View File

@@ -20,13 +20,13 @@ func init() {
baseapi.Init(sugarLogger)
// 菜市
//api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
// 果园
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
//商超
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_vvkN5u8ZfJgjwCQrOUNNsQ") //token_n4TwqCntWWuvQwAawzxC0w
//api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_kABxjYgZSils7zh8K1tJCQ") //token_n4TwqCntWWuvQwAawzxC0w
cookieStr := `
acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
`

View File

@@ -74,11 +74,11 @@ func TestImageUploadByURL(t *testing.T) {
}
func TestPoiStatus(t *testing.T) {
err := api.PoiOnline("6741258")
err := api.PoiOnline("2464145")
if err != nil {
t.Fatal(err)
}
err = api.PoiOpen("6741258")
err = api.PoiOpen("2464145")
if err != nil {
t.Fatal(err)
}