|
@ -29,11 +29,10 @@ var AppConfig AppConf = AppConf{ |
|
|
TimeFormat: "Mon, 01 Jan 2006 15:04:05 GMT", |
|
|
TimeFormat: "Mon, 01 Jan 2006 15:04:05 GMT", |
|
|
Charset: "UTF-8", |
|
|
Charset: "UTF-8", |
|
|
Other: Other{ |
|
|
Other: Other{ |
|
|
IgnoreURLs: []string{"/", "/user/login", "/user/courts","/admin/tabnames/download","/user/getimg"},//免token验证路径
|
|
|
|
|
|
|
|
|
IgnoreURLs: []string{"/", "/user/login", "/user/courts", "/admin/tabnames/download", "/user/getimg", "/admin/stdeftab/selectarr", "/admin/stdeftab/selectall"}, //免token验证路径
|
|
|
JWTTimeout: 72000, |
|
|
JWTTimeout: 72000, |
|
|
LogLevel: "debug", |
|
|
LogLevel: "debug", |
|
|
Secret: "123456", |
|
|
Secret: "123456", |
|
|
}, |
|
|
}, |
|
|
PublicRute: []string{"/sysMenu","/user/getuserinfo","/user/pwd","/user/avatar","/user/profile","/user/getimg","/admin/tabnames/list"},//免权限检查路径
|
|
|
|
|
|
|
|
|
PublicRute: []string{"/sysMenu", "/user/getuserinfo", "/user/pwd", "/user/avatar", "/user/profile", "/user/getimg", "/admin/tabnames/list"}, //免权限检查路径
|
|
|
} |
|
|
} |
|
|
|
|
|
|