[优化]优化命名

This commit is contained in:
PandaX
2024-03-13 14:09:19 +08:00
parent e4dbd843f2
commit 7a25d49846
27 changed files with 27 additions and 27 deletions

View File

@@ -12,7 +12,7 @@ func InitUploadRouter(container *restful.Container) {
s := &api.UploadApi{}
ws := new(restful.WebService)
ws.Path("/upload").Produces(restful.MIME_JSON)
tags := []string{"upload"}
tags := []string{"system", "文件"}
ws.Route(ws.POST("/up").To(func(request *restful.Request, response *restful.Response) {
restfulx.NewReqCtx(request, response).WithLog("上传图片").Handle(s.UploadImage)