68 lines
1.3 KiB
Java
68 lines
1.3 KiB
Java
package com.xinelu.common.config;
|
||
|
||
import lombok.Data;
|
||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||
import org.springframework.stereotype.Component;
|
||
|
||
/**
|
||
* @Description 新医路院后微信小程序参数配置类
|
||
* @Author 纪寒
|
||
* @Date 2024-03-19 15:52:38
|
||
* @Version 1.0
|
||
*/
|
||
@Data
|
||
@Component
|
||
@ConfigurationProperties(prefix = "wechat-applet-chat-config")
|
||
public class WeChatAppletChatConfig {
|
||
|
||
/**
|
||
* 小程序id
|
||
*/
|
||
private String appletId;
|
||
|
||
/**
|
||
* 小程序secret
|
||
*/
|
||
private String secret;
|
||
|
||
/**
|
||
* 返回国家地区语言版本,zh_CN 简体,zh_TW 繁体,en 英语
|
||
*/
|
||
private String lang;
|
||
|
||
/**
|
||
* 授权类型
|
||
*/
|
||
private String grantType;
|
||
|
||
/**
|
||
* 微信小程序事件回调令牌
|
||
*/
|
||
private String token;
|
||
|
||
/**
|
||
* 微信小程序事件回调消息加密密钥
|
||
*/
|
||
private String encodingAesKey;
|
||
|
||
/**
|
||
* 优惠券领取模板id
|
||
*/
|
||
private String couponReceiveTemplateId;
|
||
|
||
/**
|
||
* 商品订单支付成功通知模板id
|
||
*/
|
||
private String goodsOrderTemplateId;
|
||
|
||
/**
|
||
* 预约服务订单通知模板id
|
||
*/
|
||
private String appointOrderTemplateId;
|
||
|
||
/**
|
||
* 签到通知模板
|
||
*/
|
||
private String signTemplateId;
|
||
}
|