123456789101112131415161718192021222324252627282930 |
- package com.jpsoft.machinery.config;
- import lombok.Data;
- import org.springframework.boot.context.properties.ConfigurationProperties;
- import org.springframework.stereotype.Component;
- @Data
- @ConfigurationProperties(prefix = "wechat")
- @Component
- public class WechatConfig {
- /**
- * 设置微信公众号或者小程序等的appid
- */
- private String appId;
- /**
- * 设置微信公众号或者小程序等的appSecret
- */
- private String appSecret;
- /**
- * 获取通用token地址
- */
- private String tokenUrl;
- /**
- * 退回通知模板编号
- */
- private String backNoticeTemplateId;
- }
|