修复七牛云上传bug
This commit is contained in:
1 parent
f4403701c1
commit
ea0e84c93c
6 files changed
+551
No files matched your search
@@ -126,6 +126,11 @@ func (c *QiniuUploadController) SaveFileRecord() {
|
||||
}
|
||||
tid := c.effectiveTid(claims)
|
||||
|
||||
// 调试:打印请求体
|
||||
body := c.Ctx.Input.RequestBody
|
||||
fmt.Println("SaveFileRecord 请求体长度:", len(body))
|
||||
fmt.Println("SaveFileRecord 请求体内容:", string(body))
|
||||
|
||||
// 解析请求参数
|
||||
type SaveRequest struct {
|
||||
Key string `json:"key"` // 七牛云文件 key
|
||||
|
||||
Reference in new issue
Block a user