2023-09-21 15:57:25 +08:00
|
|
|
|
package com.xinelu.common.config;
|
|
|
|
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @Description 微信小程序参数配置类
|
|
|
|
|
|
* @Author 纪寒
|
|
|
|
|
|
* @Date 2022-09-02 10:52:38
|
|
|
|
|
|
* @Version 1.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@Component
|
|
|
|
|
|
@ConfigurationProperties(prefix = "applet-chat-config")
|
|
|
|
|
|
public class AppletChatConfig {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 小程序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;
|
2023-10-18 17:33:58 +08:00
|
|
|
|
|
2023-09-21 15:57:25 +08:00
|
|
|
|
}
|