路由架构修改,定时任务修复

This commit is contained in:
yxh
2020-08-07 12:13:39 +08:00
parent 913184f09e
commit 7c85e49905
20 changed files with 831 additions and 229 deletions
+2 -2
View File
@@ -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