mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
路由架构修改,定时任务修复
This commit is contained in:
@@ -21,9 +21,9 @@ func CORS(r *ghttp.Request) {
|
||||
|
||||
//权限判断处理中间件
|
||||
func Auth(r *ghttp.Request) {
|
||||
if r.Method != "GET" {
|
||||
/*if r.Method != "GET" {
|
||||
response.FailJson(true, r, "演示系统禁止操作")
|
||||
}
|
||||
}*/
|
||||
//获取登陆用户id
|
||||
adminId := user_service.GetLoginID(r)
|
||||
//获取无需验证权限的用户id
|
||||
|
||||
Reference in New Issue
Block a user