upgrade http client

This commit is contained in:
2025-03-02 21:50:54 +08:00
parent 1c57dcf5af
commit 5b296b74b0
13 changed files with 953 additions and 0 deletions

17
httpclient/README.md Normal file
View File

@ -0,0 +1,17 @@
# httpclient
## 库作用
- 对第三方接口发起请求
## 依赖基础库
- [resty](https://github.com/go-resty/resty)
## 配置说明
## 默认配置
- AllowGetMethodPayload : 允许GET请求带Body, 默认值 **`true`** , 如需关闭, 可通过 HttpClient.GetRestyClient().SetAllowGetMethodPayload(false) 关闭
## 使用方式