数据集

This commit is contained in:
XM-GO
2023-04-30 11:15:15 +08:00
parent e825f42fd8
commit 5dfa857249
8 changed files with 61 additions and 28 deletions

View File

@@ -31,11 +31,11 @@ func (r *RuleChainApi) RuleChainTest(rc *restfulx.ReqCtx) {
// GetVisualRuleChainList WorkInfo列表数据
func (p *RuleChainApi) GetVisualRuleChainList(rc *restfulx.ReqCtx) {
data := entity.VisualRuleChain{}
pageNum := restfulx.QueryInt(rc, "pageNum", 1)
pageSize := restfulx.QueryInt(rc, "pageSize", 10)
ruleName := restfulx.QueryParam(rc, "ruleName")
status := restfulx.QueryParam(rc, "status")
data := entity.VisualRuleChain{RuleName: ruleName, Status: status}
data.RuleName = restfulx.QueryParam(rc, "ruleName")
data.Status = restfulx.QueryParam(rc, "status")
list, total := p.VisualRuleChainApp.FindListPage(pageNum, pageSize, data)
rc.ResData = model.ResultPage{