feat(app): update

This commit is contained in:
Yangtao
2025-11-19 14:24:13 +08:00
parent 1eac66d7fd
commit 0c34585649
329 changed files with 10760 additions and 281 deletions

View File

@ -44,7 +44,7 @@ func Get(url string) (response string) {
// 发送POST请求
// url:请求地址data:POST请求提交的数据,contentType:请求体格式application/json
// response:请求返回的内容
func Post(url string, data interface{}, header map[string]string) (response string) {
func Post(url string, data any, header map[string]string) (response string) {
jsonStr, _ := json.Marshal(data)
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonStr))
if err != nil {