select category
This commit is contained in:
@@ -4,6 +4,7 @@ package com.sky.constant;
|
||||
* 公共字段自动填充相关常量
|
||||
*/
|
||||
public class AutoFillConstant {
|
||||
|
||||
/**
|
||||
* 实体类中的方法名称
|
||||
*/
|
||||
|
||||
@@ -5,19 +5,57 @@ import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author SLHAF
|
||||
*/
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "sky.wechat")
|
||||
@Data
|
||||
public class WeChatProperties {
|
||||
|
||||
private String appid; //小程序的appid
|
||||
private String secret; //小程序的秘钥
|
||||
private String mchid; //商户号
|
||||
private String mchSerialNo; //商户API证书的证书序列号
|
||||
private String privateKeyFilePath; //商户私钥文件
|
||||
private String apiV3Key; //证书解密的密钥
|
||||
private String weChatPayCertFilePath; //平台证书
|
||||
private String notifyUrl; //支付成功的回调地址
|
||||
private String refundNotifyUrl; //退款成功的回调地址
|
||||
/**
|
||||
小程序的appid
|
||||
*/
|
||||
private String appid;
|
||||
|
||||
/**
|
||||
* 小程序的秘钥
|
||||
*/
|
||||
private String secret;
|
||||
|
||||
/**
|
||||
* 商户号
|
||||
*/
|
||||
private String mchid;
|
||||
|
||||
/**
|
||||
* 商户API证书的证书序列号
|
||||
*/
|
||||
private String mchSerialNo;
|
||||
|
||||
/**
|
||||
* 商户私钥文件
|
||||
*/
|
||||
private String privateKeyFilePath;
|
||||
|
||||
/**
|
||||
* 证书解密的密钥
|
||||
*/
|
||||
private String apiV3Key;
|
||||
|
||||
/**
|
||||
* 平台证书
|
||||
*/
|
||||
private String weChatPayCertFilePath;
|
||||
|
||||
/**
|
||||
* “支付成功”的回调地址
|
||||
*/
|
||||
private String notifyUrl;
|
||||
|
||||
/**
|
||||
* “退款成功”的回调地址
|
||||
*/
|
||||
private String refundNotifyUrl;
|
||||
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 后端统一返回结果
|
||||
* @author SLHAF
|
||||
* @param <T>
|
||||
*/
|
||||
@Data
|
||||
|
||||
Reference in New Issue
Block a user