mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	pay: PayNotifyJob 增加多租户的支持
This commit is contained in:
		@@ -1,8 +1,8 @@
 | 
			
		||||
package cn.iocoder.yudao.module.shop.controller.app;
 | 
			
		||||
 | 
			
		||||
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.service.notify.vo.PayNotifyOrderReqVO;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.service.notify.vo.PayRefundOrderReqVO;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.api.notify.dto.PayOrderNotifyReqDTO;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.api.notify.dto.PayRefundNotifyReqDTO;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.service.order.PayOrderService;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.api.order.dto.PayOrderCreateReqDTO;
 | 
			
		||||
import cn.iocoder.yudao.module.pay.util.PaySeqUtils;
 | 
			
		||||
@@ -58,14 +58,14 @@ public class AppShopOrderController {
 | 
			
		||||
 | 
			
		||||
    @PostMapping("/pay-notify")
 | 
			
		||||
    @ApiOperation("支付回调")
 | 
			
		||||
    public CommonResult<Boolean> payNotify(@RequestBody @Valid PayNotifyOrderReqVO reqVO) {
 | 
			
		||||
    public CommonResult<Boolean> payNotify(@RequestBody @Valid PayOrderNotifyReqDTO reqVO) {
 | 
			
		||||
        log.info("[payNotify][回调成功]");
 | 
			
		||||
        return success(true);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @PostMapping("/refund-notify")
 | 
			
		||||
    @ApiOperation("退款回调")
 | 
			
		||||
    public CommonResult<Boolean> refundNotify(@RequestBody @Valid PayRefundOrderReqVO reqVO) {
 | 
			
		||||
    public CommonResult<Boolean> refundNotify(@RequestBody @Valid PayRefundNotifyReqDTO reqVO) {
 | 
			
		||||
        log.info("[refundNotify][回调成功]");
 | 
			
		||||
        return success(true);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user