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