feat: 优化后台UI

This commit is contained in:
chenzifan
2024-03-11 13:51:26 +08:00
parent dca25dbb78
commit 26dc479596
13 changed files with 200 additions and 28 deletions

View File

@@ -33,7 +33,7 @@ func (h *UploadHandler) Upload(c *gin.Context) {
userId := h.GetLoginUserId(c)
res := h.db.Create(&model.File{
UserId: userId,
UserId: int(userId),
Name: file.Name,
ObjKey: file.ObjKey,
URL: file.URL,