mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
移除微信支付相关
This commit is contained in:
@@ -216,7 +216,7 @@ public class PayController extends BaseController {
|
||||
logger.info("微信退款回调接口 body:{}", JSON.toJSONString(body));
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
orderService.wechatPayRefundCallback(request, body);
|
||||
// orderService.wechatPayRefundCallback(request, body);
|
||||
response = new RestApiResponse<>();
|
||||
} catch (BusinessException e) {
|
||||
logger.warn("微信退款回调接口warn", e);
|
||||
@@ -245,7 +245,7 @@ public class PayController extends BaseController {
|
||||
}
|
||||
dto.setMemberId(memberId);
|
||||
dto.setRefundType("2");
|
||||
orderService.weChatRefund(dto);
|
||||
// orderService.weChatRefund(dto);
|
||||
response = new RestApiResponse<>();
|
||||
} catch (BusinessException e) {
|
||||
logger.warn("微信退款接口 warn", e);
|
||||
|
||||
@@ -730,14 +730,14 @@ public class MemberService {
|
||||
memberInvoiceTitleService.deleteMemberInvoiceTitleById(Long.valueOf(dto.getTitleId()));
|
||||
}
|
||||
|
||||
public Map<String, Object> rechargeBalance(WeixinPayDTO dto) throws Exception {
|
||||
PaymentScenarioDTO paymentScenarioDTO = new PaymentScenarioDTO();
|
||||
paymentScenarioDTO.setType(ScenarioEnum.BALANCE.getValue());
|
||||
paymentScenarioDTO.setMemberId(dto.getMemberId());
|
||||
dto.setAttach(JSON.toJSONString(paymentScenarioDTO));
|
||||
dto.setDescription("会员充值余额");
|
||||
return orderService.weixinPayV3(dto);
|
||||
}
|
||||
// public Map<String, Object> rechargeBalance(WeixinPayDTO dto) throws Exception {
|
||||
// PaymentScenarioDTO paymentScenarioDTO = new PaymentScenarioDTO();
|
||||
// paymentScenarioDTO.setType(ScenarioEnum.BALANCE.getValue());
|
||||
// paymentScenarioDTO.setMemberId(dto.getMemberId());
|
||||
// dto.setAttach(JSON.toJSONString(paymentScenarioDTO));
|
||||
// dto.setDescription("会员充值余额");
|
||||
// return orderService.weixinPayV3(dto);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 使用汇付支付充值余额
|
||||
|
||||
@@ -317,9 +317,9 @@ public class OrderService {
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public Map<String, Object> weixinPayV3(WeixinPayDTO dto) throws Exception {
|
||||
return wechatPayService.weixinPayV3(dto);
|
||||
}
|
||||
// public Map<String, Object> weixinPayV3(WeixinPayDTO dto) throws Exception {
|
||||
// return wechatPayService.weixinPayV3(dto);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 用户停止充电
|
||||
@@ -388,10 +388,10 @@ public class OrderService {
|
||||
*
|
||||
* @param dto
|
||||
*/
|
||||
public void weChatRefund(ApplyRefundDTO dto) {
|
||||
log.info("微信退款接口 param:{}", JSON.toJSONString(dto));
|
||||
orderBasicInfoService.weChatRefund(dto);
|
||||
}
|
||||
// public void weChatRefund(ApplyRefundDTO dto) {
|
||||
// log.info("微信退款接口 param:{}", JSON.toJSONString(dto));
|
||||
// orderBasicInfoService.weChatRefund(dto);
|
||||
// }
|
||||
|
||||
/**
|
||||
* 汇付退款
|
||||
@@ -543,7 +543,7 @@ public class OrderService {
|
||||
*/
|
||||
public void wechatPayRefundCallback(HttpServletRequest request, WechatPayNotifyParameter body) throws Exception {
|
||||
// 获取微信退款成功返回的信息
|
||||
Map<String, Object> map = wechatPayService.wechatPayRefundCallbackInfo(request, body);
|
||||
// Map<String, Object> map = wechatPayService.wechatPayRefundCallbackInfo(request, body);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -239,7 +239,7 @@ public class TempService {
|
||||
weChatRefundDTO.setRefundType("1");
|
||||
weChatRefundDTO.setRefundAmount(refundAmount);
|
||||
try {
|
||||
orderBasicInfoService.weChatRefund(weChatRefundDTO);
|
||||
// orderBasicInfoService.weChatRefund(weChatRefundDTO);
|
||||
} catch (Exception e) {
|
||||
logger.error("临时订单退款接口发生异常 orderCode:{}", orderBasicInfo.getOrderCode(), e);
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ public class PileStationInfoController extends BaseController {
|
||||
*/
|
||||
@GetMapping("/getParkingInfoList")
|
||||
public RestApiResponse<?> getParkingInfoList() {
|
||||
logger.info("获取停车平台列表");
|
||||
// logger.info("获取停车平台列表");
|
||||
RestApiResponse<?> response = null;
|
||||
try {
|
||||
startPage();
|
||||
|
||||
Reference in New Issue
Block a user