1、开放api权限,admin模块权限设置后续会更新

2、修复优惠券领取时间不限制导致不显示的bug
3、更新了一些config配置数据
This commit is contained in:
张乐
2020-09-02 11:42:10 +08:00
parent 076b7597cb
commit ca17b3c4c6
8 changed files with 39 additions and 33 deletions

View File

@@ -28,11 +28,10 @@ public class AdminAuthInterceptor implements HandlerInterceptor {
Boolean result = systemRoleService.checkAuth(uri);
//TODO 此处暂时放开
// if(!result){
// response.getWriter().write(JSONObject.toJSONString(CommonResult.forbidden()));
// return false;
// }
if(!result){
response.getWriter().write(JSONObject.toJSONString(CommonResult.forbidden()));
return false;
}
return true;
}