fix: some api bug

This commit is contained in:
wwweww
2026-03-31 22:12:06 +08:00
parent c5ff4f0216
commit e7970ac25f
219 changed files with 16195 additions and 2126 deletions
@@ -20,7 +20,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
{
// 文件获取接口 (如果是私有文件,通过此接口获取或重定向)
Method: http.MethodGet,
Path: "/files/:fileId",
Path: "/files",
Handler: file.GetFileHandler(serverCtx),
},
{
+1 -1
View File
@@ -4,7 +4,7 @@
package types
type GetFileReq struct {
FileId string `path:"fileId"`
FileId string `form:"key"`
}
type UploadReq struct {