From c2b16d547426c582421cfc1eac9fe873786a6bcb Mon Sep 17 00:00:00 2001 From: PandaX <18610165312@163.com> Date: Thu, 26 Oct 2023 15:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=88=99=E5=BC=95=E6=93=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 ++ .idea/vcs.xml | 1 + apps/rule/services/rulechain.go | 1 + 3 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 7c275f5..0b5c5c1 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,8 @@ # Test binary, built with `go test -c` *.test +*.git + /fatal # Output of the go coverage tool, specifically when used with LiteIDE *.out \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..b6b1c18 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -2,5 +2,6 @@ + \ No newline at end of file diff --git a/apps/rule/services/rulechain.go b/apps/rule/services/rulechain.go index 4ba171f..236c4d1 100644 --- a/apps/rule/services/rulechain.go +++ b/apps/rule/services/rulechain.go @@ -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) }