This commit is contained in:
tfl
2024-08-20 17:46:15 +08:00
parent 1467b349a2
commit 8b167d8c02
16 changed files with 182 additions and 160 deletions

View File

@@ -64,8 +64,11 @@ func (p *RuleChainApi) GetRuleChainList(rc *restfulx.ReqCtx) {
func (p *RuleChainApi) GetRuleChainListLabel(rc *restfulx.ReqCtx) {
data := entity.RuleChain{}
data.RuleName = restfulx.QueryParam(rc, "ruleName")
data.RoleId = rc.LoginAccount.RoleId
data.Owner = rc.LoginAccount.UserName
list, err := p.RuleChainApp.FindListBaseLabel(data)
biz.ErrIsNil(err, "获取规则链Label错误")
biz.ErrIsNilAppendErr(err, "获取规则链Label错误")
rc.ResData = list
}