xinelu-api/xinelu-common/src/main/java/com/xinelu/common/config/AppletChatConfig.java

69 lines
1.3 KiB
Java
Raw Normal View History

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;
}