mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
优化
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user