feat: update post detail page

This commit is contained in:
yanghao05
2025-04-25 11:39:28 +08:00
parent 505c41e9ef
commit b8c2c245f2
15 changed files with 191 additions and 76 deletions

View File

@@ -33,7 +33,7 @@ type PreCheckResp struct {
}
// PreUploadCheck
// @Router /v1/admin/uploads/pre-uploaded-check/:md5.:ext [get]
// @Router /admin/uploads/pre-uploaded-check/:md5.:ext [get]
// @Bind md5 path
// @Bind ext path
// @Bind mime query
@@ -59,7 +59,7 @@ type PostUploadedForm struct {
}
// PostUploadedAction
// @Router /v1/admin/uploads/post-uploaded-action [post]
// @Router /admin/uploads/post-uploaded-action [post]
// @Bind body body
func (up *uploads) PostUploadedAction(ctx fiber.Ctx, body *PostUploadedForm) error {
m, err := models.Medias.GetByHash(ctx.Context(), body.Md5)