mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-07 02:57:51 +00:00
feat(subscription): publish SkillVersionYankedEvent on version yank
This commit is contained in:
parent
4e62698231
commit
6f0103f013
1 changed files with 2 additions and 0 deletions
|
|
@ -271,6 +271,8 @@ public class SkillGovernanceService {
|
|||
}
|
||||
});
|
||||
auditLogService.record(actorUserId, "YANK_SKILL_VERSION", "SKILL_VERSION", versionId, null, clientIp, userAgent, jsonReason(reason));
|
||||
eventPublisher.publishEvent(new com.iflytek.skillhub.domain.event.SkillVersionYankedEvent(
|
||||
version.getSkillId(), versionId, actorUserId));
|
||||
return saved;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue