1.4.4版本,新增模板消息通知、H5端商家管理发货修改及其列表时间显示修复
This commit is contained in:
@ -38,7 +38,9 @@ public class RedisServiceImpl implements RedisService {
|
||||
// 过滤掉权限的缓存
|
||||
if (s.toString().indexOf("role::loadPermissionByUser") != -1
|
||||
|| s.toString().indexOf("user::loadUserByUsername") != -1
|
||||
|| s.toString().indexOf("wechat") != -1 || s.toString().indexOf("wxpay") != -1) {
|
||||
|| s.toString().indexOf("wechat") != -1
|
||||
|| s.toString().indexOf("wxpay") != -1
|
||||
|| s.toString().indexOf("site_url") != -1) {
|
||||
continue;
|
||||
}
|
||||
DataType dataType = redisTemplate.type(s.toString());
|
||||
|
@ -75,7 +75,7 @@ public class MenuController {
|
||||
@PostMapping(value = "/menus")
|
||||
@PreAuthorize("hasAnyRole('ADMIN','MENU_ALL','MENU_CREATE')")
|
||||
public ResponseEntity create(@Validated @RequestBody Menu resources){
|
||||
////if(StrUtil.isNotEmpty("22")) throw new BadRequestException("演示环境禁止操作");
|
||||
//if(StrUtil.isNotEmpty("22")) throw new BadRequestException("演示环境禁止操作");
|
||||
if (resources.getId() != null) {
|
||||
throw new BadRequestException("A new "+ ENTITY_NAME +" cannot already have an ID");
|
||||
}
|
||||
|
Reference in New Issue
Block a user