diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java index ecc3d1b..3ab4ae3 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java @@ -325,8 +325,6 @@ public class PayService { String appToken = thirdApply.getAppToken(); if ("aliPay".equals(payType)){ smallAppid = thirdApply.getAlipaySmallAppid(); - appId = thirdApply.getAlipayAppId(); - appToken = thirdApply.getAlipayAppToken(); } String convertPayType = "aliPay".equals(payType) ? "ALIPAY" : "WECHAT"; PublicResp publicResp = thirdPayService.scanpay(thirdUrl, @@ -682,8 +680,6 @@ public class PayService { String appToken = thirdApply.getAppToken(); if ("aliPay".equals(payType)){ smallAppid = thirdApply.getAlipaySmallAppid(); - appId = thirdApply.getAlipayAppId(); - appToken = thirdApply.getAlipayAppToken(); } String convertPayType = "aliPay".equals(payType) ? "ALIPAY" : "WECHAT"; PublicResp publicResp = thirdPayService.scanpay(