Skip to content

Commit

Permalink
Update README.zh.md
Browse files Browse the repository at this point in the history
set_no_data_field() desc modify
  • Loading branch information
zhaoche27 authored Jan 8, 2022
1 parent 89f84e1 commit c56c0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ import (
// request.SetPathParams(map[string]interface{}{"user_id": 4}):设置URL Path参数(有:前缀)值,当httpPath="contact/v3/users/:user_id"时,请求的URL="https://{domain}/open-apis/contact/v3/users/4"
// request.SetQueryParams(map[string]interface{}{"age":4,"types":[1,2]}):设置 URL query,会在url追加?age=4&types=1&types=2
// request.setResponseStream(),设置响应的是否是流,例如下载文件,这时:output的类型需要实现 io.Writer 接口
// request.SetNotDataField(),设置响应的是否 没有`data`字段,业务接口都是有`data`字段,所以不需要设置
// request.SetNotDataField(),有一些 API 的响应体没有`data`字段,需要设置
// request.SetTenantKey("TenantKey"),以`应用商店应用`身份,表示使用`tenant_access_token`访问API,需要设置
// request.SetUserAccessToken("UserAccessToken"),表示使用`user_access_token`访问API,需要设置
// request.NeedHelpDeskAuth(),表示是服务台API,需要设置 config.AppSettings 的 help desk 信息
Expand Down

0 comments on commit c56c0ff

Please sign in to comment.