docs icon indicating copy to clipboard operation
docs copied to clipboard

插件里面定义通过@ConfigurationProperties读取配置文件数据问题

Open liuchangfitcloud opened this issue 5 months ago • 1 comments

经过与 @halo-dev/sig-halo 确认,@ConfigurationProperties 无法读取 Halo 本身 application.yaml 中的数据,只能通过 halo-workdir/plugins/configs/{plugin-name}.yaml下面定义的数据,建议将这部分补充到插件开发的文档中

liuchangfitcloud avatar Feb 02 '24 08:02 liuchangfitcloud