mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
规则引擎
This commit is contained in:
@@ -114,6 +114,7 @@ func (m *ruleChainModelImpl) FindListBaseLabel(data entity.RuleChain) *[]entity.
|
||||
}
|
||||
|
||||
func (m *ruleChainModelImpl) Update(data entity.RuleChain) *entity.RuleChain {
|
||||
//更改本地规则链缓存
|
||||
if data.RuleDataJson != "" {
|
||||
go global.EventEmitter.Emit(events.ProductChainRuleEvent, data.Id, data.RuleDataJson)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user