|
|
|
@ -5,15 +5,13 @@ import com.bnyer.common.core.enums.ResponseEnum; |
|
|
|
import com.bnyer.common.core.exception.ServiceException; |
|
|
|
import com.bnyer.common.core.utils.bean.EntityConvertUtil; |
|
|
|
import com.bnyer.common.core.utils.ip.IpUtils; |
|
|
|
import com.bnyer.pay.annotation.LimitRepeatRequest; |
|
|
|
import com.bnyer.pay.bean.dto.QueryOrderDto; |
|
|
|
import com.bnyer.pay.bean.dto.RefundDto; |
|
|
|
import com.bnyer.pay.bean.dto.UnifiedOrderDto; |
|
|
|
import com.bnyer.pay.bean.dto.QueryOrderDto; |
|
|
|
import com.bnyer.pay.bean.dto.UnifiedOrderExtDto; |
|
|
|
import com.bnyer.pay.bean.vo.ThirdRefundVo; |
|
|
|
import com.bnyer.pay.service.UnifiedPayService; |
|
|
|
import com.bnyer.pay.bean.vo.UnifiedOrderVo; |
|
|
|
import com.bnyer.pay.bean.vo.QueryOrderVo; |
|
|
|
import com.bnyer.pay.bean.vo.UnifiedOrderVo; |
|
|
|
import com.bnyer.pay.service.UnifiedPayService; |
|
|
|
import com.bnyer.pay.utils.PaymentRefundUtil; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.v3.oas.annotations.Operation; |
|
|
|
@ -59,7 +57,7 @@ public class UnifiedPayController { |
|
|
|
return R.ok(queryOrderVo); |
|
|
|
} |
|
|
|
|
|
|
|
@LimitRepeatRequest(time = 10, message = "请勿频繁操作") |
|
|
|
//@LimitRepeatRequest(time = 10, message = "请勿频繁操作")
|
|
|
|
@PostMapping("/refund") |
|
|
|
@Operation(summary = "统一退款" , description = "统一退款") |
|
|
|
public R<?> refund(@Valid @RequestBody RefundDto dto){ |
|
|
|
|