From 2ba431be9c12a79783e0f9ef249292b7fa95f2a1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 25 一月 2021 19:13:58 +0800 Subject: [PATCH] 拼多多备案调整 --- utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java | 116 ++++++++++++++++++++++++++++++++++++++++------------------ 1 files changed, 80 insertions(+), 36 deletions(-) diff --git a/utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java b/utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java index e681234..961fafa 100644 --- a/utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java +++ b/utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java @@ -1,53 +1,97 @@ package org.yeshi.utils.entity.wx; public class WXAPPInfo { - private String appId; - private String appSecret; - private String mchId; + private String appId; + private String appSecret; + private String mchId; + private String mchKey; - public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) { - this.appId = appId; - this.appSecret = appSecret; - this.mchId = mchId; - this.mchKey = mchKey; - } - public WXAPPInfo() { + /** + * V3鎺ュ彛鏂板瀛楁 + */ + //璇佷功搴忓垪鍙� + private String mchSerialNo; + //璇佷功绉侀挜 + private String privateKey; + private String apiV3Key; - } - private String mchKey; + public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) { + this.appId = appId; + this.appSecret = appSecret; + this.mchId = mchId; + this.mchKey = mchKey; + } - public String getAppId() { - return appId; - } + public WXAPPInfo(String appId, String mchId, String mchSerialNo, String privateKey, String apiV3Key) { + this.appId = appId; + this.mchId = mchId; + this.mchSerialNo = mchSerialNo; + this.privateKey = privateKey; + this.apiV3Key = apiV3Key; + } - public void setAppId(String appId) { - this.appId = appId; - } - public String getAppSecret() { - return appSecret; - } + public WXAPPInfo() { - public void setAppSecret(String appSecret) { - this.appSecret = appSecret; - } + } - public String getMchId() { - return mchId; - } - public void setMchId(String mchId) { - this.mchId = mchId; - } + public String getMchSerialNo() { + return mchSerialNo; + } - public String getMchKey() { - return mchKey; - } + public void setMchSerialNo(String mchSerialNo) { + this.mchSerialNo = mchSerialNo; + } - public void setMchKey(String mchKey) { - this.mchKey = mchKey; - } + public String getPrivateKey() { + return privateKey; + } + + public void setPrivateKey(String privateKey) { + this.privateKey = privateKey; + } + + public String getApiV3Key() { + return apiV3Key; + } + + public void setApiV3Key(String apiV3Key) { + this.apiV3Key = apiV3Key; + } + + 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 getMchKey() { + return mchKey; + } + + public void setMchKey(String mchKey) { + this.mchKey = mchKey; + } } -- Gitblit v1.8.0