Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7777630306 | ||
|
|
de64d7b076 |
@@ -100,7 +100,7 @@ func (c *Client[T]) DoRequest(url string, reqData interface{}) (*T, error) {
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("清理JSON空值失败: %v", err)
|
||||
}
|
||||
g.Log().Infof(c.ctx, "清理后的json: %+v", reqJson)
|
||||
g.Log().Infof(c.ctx, "清理后的json: %v", string(reqJson))
|
||||
|
||||
auth, err := c.generateSign(reqJson)
|
||||
if err != nil {
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ type FeeData struct {
|
||||
// FileData 附件集合结构体
|
||||
|
||||
type FileData struct {
|
||||
AttField string `json:"attField"` // 文件编号/附件上传后返回的编号,必填
|
||||
AttFileId string `json:"attFileId"` // 文件编号/附件上传后返回的编号,必填
|
||||
AttType string `json:"attType"` // 附件类型,必填
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user