cn.minsin.wechat.jsapi.config.MutilsWechatJsapiAutoConfigure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mutils-wechat-jsapi Show documentation
Show all versions of mutils-wechat-jsapi Show documentation
mutils组件中,提供微信jsapi(公众号)+微信支付模块。
官方文档:https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_1
package cn.minsin.wechat.jsapi.config;
import cn.minsin.core.init.AbstractConfig;
import lombok.Getter;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* @author: minton.zhang
* @since: 2019/10/9 15:57
*/
@Configuration
@EnableConfigurationProperties(MutilsWechatJsapiProperties.class)
public class MutilsWechatJsapiAutoConfigure {
@Getter
private final MutilsWechatJsapiProperties properties;
MutilsWechatJsapiAutoConfigure(MutilsWechatJsapiProperties properties) {
super();
this.properties = properties;
AbstractConfig.init(MutilsWechatJsapiProperties.class, properties);
}
}