1.4.4版本,新增模板消息通知、H5端商家管理发货修改及其列表时间显示修复

This commit is contained in:
hupeng
2019-12-13 19:23:56 +08:00
parent 2d89095296
commit a060e73e39
41 changed files with 1490 additions and 50 deletions

View File

@ -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());

View File

@ -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");
}