1
This commit is contained in:
@@ -112,7 +112,6 @@ func TestShopBusStatusGet(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestShopOpen(t *testing.T) {
|
||||
|
||||
@@ -26,7 +26,7 @@ func init() {
|
||||
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
|
||||
|
||||
//商超
|
||||
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_tA8jruzFR0yxDF4p1qVN7A") //token_n4TwqCntWWuvQwAawzxC0w
|
||||
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_lygKiWMoozaEx-w1m9ZMmw") //token_n4TwqCntWWuvQwAawzxC0w
|
||||
cookieStr := `
|
||||
acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
|
||||
`
|
||||
|
||||
@@ -231,7 +231,7 @@ func TestBatchSetPrice(t *testing.T) {
|
||||
fmt.Println(err)
|
||||
}
|
||||
func TestRetailDelete(t *testing.T) {
|
||||
poiCode := "17211186"
|
||||
poiCode := "18292160"
|
||||
|
||||
i := 0
|
||||
for {
|
||||
|
||||
@@ -3,6 +3,7 @@ package weixinapi
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"math/rand"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
@@ -91,7 +92,8 @@ func (a *API) AccessAPI(action string, params map[string]interface{}, body strin
|
||||
}
|
||||
params2["access_token"] = accessToken
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("===========param 2 := %s", utils.Format4Output(params2, false))
|
||||
globals.SugarLogger.Debugf("===========api 2 := %s", utils.Format4Output(a, false))
|
||||
fullURL := utils.GenerateGetURL(prodURL, action, params2)
|
||||
// baseapi.SugarLogger.Debug(fullURL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user