实现上传奖励图片接口

This commit is contained in:
2025-06-25 14:06:28 +08:00
parent f862be6d9e
commit aa05d6691a
4 changed files with 27 additions and 0 deletions

View File

@ -29,3 +29,11 @@ type UploadUserImgReq struct {
type UploadUserImgRes struct {
Url string `json:"url"`
}
type UploadRewardImgReq struct {
g.Meta `path:"/upload/reward" method:"post" tags:"WEB" summary:"上传奖励图标文件"`
File *ghttp.UploadFile `json:"file"`
}
type UploadRewardImgRes struct {
Url string `json:"url"`
}