1、开放api权限,admin模块权限设置后续会更新
2、修复优惠券领取时间不限制导致不显示的bug 3、更新了一些config配置数据
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user