银盛新增加部分

This commit is contained in:
lyf
2023-03-10 15:44:58 +08:00
parent 02831cc240
commit 334bf49033
3 changed files with 53 additions and 2 deletions

View File

@@ -1,8 +1,18 @@
package cn.pluss.platform.ys.impl.v20220527;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @author DJH
*/
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "ys")
public class YsConfigV3 {
/**
@@ -14,4 +24,42 @@ public class YsConfigV3 {
* 商户重新报备,已报备过的商户可以重新报备
*/
public static String MER_REPORT_AGAIN = "https://ysgate.ysepay.com/openapi/smsc/saas/sweep/reportAgain";
/**
* 发起方交易号
*/
private String srcMerchantNo;
@Value("agentNoV2")
private String agentNo;
public static final String INTERFACE_VERSION = "v3";
public static final String REQ_SUCCESS = "00000";
public static final String BIZ_SUCCESS = "0000";
public static final String AUDIT_NOTIFY_URL = "https://www.shouyinbei.net/api/auditCallback/ysV3";
public static final String AUDIT_SIGN_NOTIFY_URL = "https://www.shouyinbei.net/api/auditCallback/ysSignV3";
/** 成功 */
public static final String STATUS_SUCCESS = "00";
/** 审核中 */
public static final String STATUS_IN_AUDIT = "02";
/** 转人工审核 */
public static final String STATUS_TO_MANUAL = "10";
/** 拒绝 */
public static final String STATUS_REFUSE = "90";
/** 签约拒绝,主动查询时候会存在该状态 */
public static final String STATUS_SIGN_REFUSE = "04";
/** 错误 */
public static final String STATUS_FAIL = "99";
}