mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-04 17:16:37 +08:00
暂存
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package middleware
|
||||
|
||||
import (
|
||||
"github.com/beego/beego/v2/server/web/context"
|
||||
)
|
||||
|
||||
var BaseAuth = func(ctx *context.Context) {
|
||||
//secret := ctx.Input.Query("secret")
|
||||
//if secret == "" {
|
||||
// resp := common.ResponseResult{
|
||||
// Code: -1,
|
||||
// Success: false,
|
||||
// Message: "数据库链接失败",
|
||||
// Data: nil,
|
||||
// }
|
||||
// ctx.Output.JSON(resp, false, false)
|
||||
// ctx.Abort(403, "")
|
||||
//}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user