@Import({WeChatInvokerConfiguration.class, WeChatImportSelector.class})@EnableConfigurationProperties(WeChatApiConfig.class)@EnableRetry@EnableScheduling@Target(ElementType.TYPE)@Retention(RetentionPolicy.RUNTIME)@Documentedpublic @interface MBootApplication {Class<? extends WeChatTokenStore> tokenCache();}@MBootApplicationclass A{}当在A类上使用注解@MBootApplication时如何在@EnableConfigurationProperties设置值
2 回答
梦里花落0921
TA贡献1772条经验 获得超6个赞
@Retention(RetentionPolicy.RUNTIME)@ContextConfigurationpublic @interface Test { @AliasFor(value = "classes", annotation = ContextConfiguration.class) Class<?>[] t() default {}; }
添加回答
举报
0/150
提交
取消