mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-25 03:48:35 +08:00
[优化]优化命名
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user