This commit is contained in:
邹宗楠
2022-07-06 16:48:43 +08:00
parent 07373a7e49
commit c47a130bc0
15 changed files with 427 additions and 9 deletions

View File

@@ -112,10 +112,9 @@ func method2ResponseKey(method string) (responseKey string) {
func (a *API) AccessAPI(method string, params, bizContent map[string]interface{}, isPost bool) (retVal map[string]interface{}, err error) {
params = utils.MergeMaps(map[string]interface{}{
"app_id": a.GetAppID(),
"method": method,
"format": "JSON",
// "return_url"
"app_id": a.GetAppID(),
"method": method,
"format": "JSON",
"charset": "utf-8",
"sign_type": "RSA2",
"version": "1.0",