[优化]base模块提出

This commit is contained in:
PandaGoAdmin
2022-08-02 22:37:37 +08:00
parent 0555922a90
commit 2cb23c0ecf
151 changed files with 550 additions and 5255 deletions

View File

@@ -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 {