|
|
@@ -288,19 +288,21 @@ public class AliController {
|
|
|
return R.data(aliApi.promotionPackagePay(price, subject));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("退款")
|
|
|
+ @ApiOperation("处理退款")
|
|
|
@ApiOperationSupport(order = 13)
|
|
|
@ApiImplicitParams({
|
|
|
- @ApiImplicitParam(name = "outTradeNo", value = "订单号", dataType = "String", paramType = "query", required = true),
|
|
|
+ @ApiImplicitParam(name = "outTradeNo", value = "订单编号", dataType = "String", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "refundAmount", value = "退款金额", dataType = "String", paramType = "query", required = true),
|
|
|
@ApiImplicitParam(name = "refundReason", value = "退款原因", dataType = "String", paramType = "query", required = true),
|
|
|
- @ApiImplicitParam(name = "partialRefundCode", value = "退款编号", dataType = "String", paramType = "query", required = true)
|
|
|
+ @ApiImplicitParam(name = "partialRefundCode", value = "部分退款编号", dataType = "String", paramType = "query")
|
|
|
})
|
|
|
@GetMapping("/processRefund")
|
|
|
public String processRefund(@RequestParam("outTradeNo") String outTradeNo,
|
|
|
@RequestParam("refundAmount") String refundAmount,
|
|
|
@RequestParam("refundReason") String refundReason,
|
|
|
- @RequestParam("partialRefundCode") String partialRefundCode) {
|
|
|
+ @RequestParam(value = "partialRefundCode", required = false) String partialRefundCode) {
|
|
|
+ log.info("AliController.processRefund?outTradeNo={}, refundAmount={}, refundReason={}, partialRefundCode={}",
|
|
|
+ outTradeNo, refundAmount, refundReason, partialRefundCode);
|
|
|
return aliApi.processRefund(outTradeNo, refundAmount, refundReason, partialRefundCode);
|
|
|
}
|
|
|
-}
|
|
|
+}
|