From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- utils/src/main/java/org/yeshi/utils/entity/wx/WXAPPInfo.java | 150 ++++++++++++++++++++++++++++++++----------------- 1 files changed, 97 insertions(+), 53 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..9efd9c2 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; - - public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) { - this.appId = appId; - this.appSecret = appSecret; - this.mchId = mchId; - this.mchKey = mchKey; - } - - public WXAPPInfo() { - - } - - private String mchKey; - - 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; - } - -} +package org.yeshi.utils.entity.wx; + +public class WXAPPInfo { + private String appId; + private String appSecret; + private String mchId; + private String mchKey; + + + /** + * V3鎺ュ彛鏂板瀛楁 + */ + //璇佷功搴忓垪鍙� + private String mchSerialNo; + //璇佷功绉侀挜 + private String privateKey; + private String apiV3Key; + + + public WXAPPInfo(String appId, String appSecret, String mchId, String mchKey) { + this.appId = appId; + this.appSecret = appSecret; + this.mchId = mchId; + this.mchKey = mchKey; + } + + 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 WXAPPInfo() { + + } + + + public String getMchSerialNo() { + return mchSerialNo; + } + + public void setMchSerialNo(String mchSerialNo) { + this.mchSerialNo = mchSerialNo; + } + + 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