1
This commit is contained in:
@@ -130,6 +130,10 @@ func (a *API) SetToken(token string) {
|
||||
a.token = token
|
||||
}
|
||||
|
||||
func (a *API) GetToken() string {
|
||||
return a.token
|
||||
}
|
||||
|
||||
func (a *API) AccessAPI2(cmd string, isGet bool, bizParams map[string]interface{}, resultKey, trackInfo string) (retVal interface{}, err error) {
|
||||
params := make(map[string]interface{})
|
||||
params["timestamp"] = time.Now().Unix()
|
||||
|
||||
Reference in New Issue
Block a user