mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
[优化]base模块提出
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package middleware
|
||||
|
||||
import (
|
||||
"github.com/XM-GO/PandaKit/restfulx"
|
||||
"github.com/XM-GO/PandaKit/utils"
|
||||
"net/http"
|
||||
"pandax/apps/log/entity"
|
||||
"pandax/apps/log/services"
|
||||
"pandax/base/ginx"
|
||||
"pandax/base/utils"
|
||||
)
|
||||
|
||||
func OperationHandler(rc *ginx.ReqCtx) error {
|
||||
func OperationHandler(rc *restfulx.ReqCtx) error {
|
||||
c := rc.GinCtx
|
||||
// 请求操作不做记录
|
||||
if c.Request.Method == http.MethodGet || rc.LoginAccount == nil {
|
||||
|
||||
Reference in New Issue
Block a user