mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
数据集
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user