[优化]优化命名

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

@@ -19,7 +19,7 @@ func InitLoginLogRouter(container *restful.Container) {
ws := new(restful.WebService)
ws.Path("/log/logLogin").Produces(restful.MIME_JSON)
tags := []string{"logLogin"}
tags := []string{"日志信息"}
ws.Route(ws.GET("/list").To(func(request *restful.Request, response *restful.Response) {
restfulx.NewReqCtx(request, response).WithLog("获取登录日志列表").Handle(s.GetLoginLogList)

View File

@@ -19,7 +19,7 @@ func InitOperLogRouter(container *restful.Container) {
ws := new(restful.WebService)
ws.Path("/log/logOper").Produces(restful.MIME_JSON)
tags := []string{"logOper"}
tags := []string{"日志信息"}
ws.Route(ws.GET("/list").To(func(request *restful.Request, response *restful.Response) {
restfulx.NewReqCtx(request, response).WithLog("获取操作日志列表").Handle(s.GetOperLogList)