This commit is contained in:
邹宗楠
2024-01-29 20:23:41 +08:00
parent b26b8e75e6
commit 646669a26f
3 changed files with 7 additions and 3 deletions

View File

@@ -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()