- 超频重视逻辑改为按幂增长
+ jdapi.NewPageOnly
This commit is contained in:
@@ -144,6 +144,13 @@ func New(token, appKey, appSecret string, config ...*platformapi.APIConfig) *API
|
||||
}
|
||||
}
|
||||
|
||||
func NewPageOnly(cookie string, config ...*platformapi.APIConfig) *API {
|
||||
api := New("", "", "", config...)
|
||||
api.SetCookie(accessStorePageCookieName, cookie)
|
||||
api.SetCookie(accessStorePageCookieName2, cookie)
|
||||
return api
|
||||
}
|
||||
|
||||
func (a *API) AccessAPI2(apiStr string, jdParams map[string]interface{}, traceInfo string) (retVal map[string]interface{}, err error) {
|
||||
params := make(map[string]interface{})
|
||||
params["v"] = "1.0"
|
||||
|
||||
Reference in New Issue
Block a user