优化规则代码,行为树的pagelist请求添加场景id与平台id条件

This commit is contained in:
MHW
2026-04-15 13:54:09 +08:00
parent 44ff489c08
commit a67e3e42ba
4 changed files with 9 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ public class RuleController extends BaseController {
@Autowired
private IRuleConfigService ruleConfigService;
@PreAuthorize("@ss.hasPermi('system:rule:list')")
/*@PreAuthorize("@ss.hasPermi('system:rule:list')")
@GetMapping("/list")
@ApiOperation("查询规则列表")
public TableDataInfo list(Rule rule) {
@@ -66,7 +66,7 @@ public class RuleController extends BaseController {
@ApiOperation("删除规则")
public AjaxResult remove(@PathVariable Integer[] ids) {
return toAjax(ruleService.deleteRuleByIds(ids));
}
}*/
@PreAuthorize("@ss.hasPermi('system:rule:list')")
@GetMapping("/config/list")

View File

@@ -8,7 +8,7 @@ spring:
master:
url: jdbc:mysql://127.0.0.1:3306/autosolution_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: 123456
password: 1234
# 从库数据源
slave:
# 从数据源开关/默认关闭