对接支付开发

This commit is contained in:
hejinbo
2023-09-09 16:50:34 +08:00
parent 362d433bb3
commit 4d2d8b0976
47 changed files with 2503 additions and 2 deletions
@@ -0,0 +1,23 @@
package com.ruoyi.config;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* 微信权限对接类
*/
@Component
@ConfigurationProperties("elegent.pay.callback")
@Data
public class CallbackConfig {
private String domain; //回调域名
@Value("${elegent.pay.callback.watch:false}")
private boolean watch; //是否开启监听
@Value("${elegent.pay.callback.cycle:10}")
private int cycle;//检查周期
}