init local code

This commit is contained in:
chenxing
2026-09-07 09:09:39 +08:00
commit 99cd26b3d2
259 changed files with 20554 additions and 0 deletions
@@ -0,0 +1,26 @@
package com.yunhai.cms.event;
/**
* 站点内容/结构变更事件:站点本身、栏目树、轮播、友链 任一变更即发,
* 门户站点快照缓存(cms:site)整体失效 + 列表缓存清除(方案 §8.4)。
*/
public class SiteContentChangedEvent {
private final Integer siteId;
/** 变更来源说明(日志用):site/category/banner/link */
private final String scope;
public SiteContentChangedEvent(Integer siteId, String scope) {
this.siteId = siteId;
this.scope = scope;
}
public Integer getSiteId() {
return siteId;
}
public String getScope() {
return scope;
}
}