package com.ltkj.web.controller.app; /** * @Company: 西安路泰科技有限公司 * @Author: lige * @Date: 2023/5/18 14:39 */ import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.PropertySource; import org.springframework.stereotype.Component; /** *
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
* *不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
* *IJPay 交流群: 723992875
* *Node.js 版: https://gitee.com/javen205/TNWX
* *微信配置 Bean
* * @author Javen */ @Component @ConfigurationProperties(prefix = "wx.pay") public class WxPayBean { private String appId; private String appSecret; private String mchId; private String partnerKey; private String certPath; private String domain; public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getAppSecret() { return appSecret; } public void setAppSecret(String appSecret) { this.appSecret = appSecret; } public String getMchId() { return mchId; } public void setMchId(String mchId) { this.mchId = mchId; } public String getPartnerKey() { return partnerKey; } public void setPartnerKey(String partnerKey) { this.partnerKey = partnerKey; } public String getCertPath() { return certPath; } public void setCertPath(String certPath) { this.certPath = certPath; } public String getDomain() { return domain; } public void setDomain(String domain) { this.domain = domain; } @Override public String toString() { return "WxPayBean [appId=" + appId + ", appSecret=" + appSecret + ", mchId=" + mchId + ", partnerKey=" + partnerKey + ", certPath=" + certPath + ", domain=" + domain + "]"; } }