mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 21:32:07 +08:00
统一支付充值、产品购买文档方法名修正
This commit is contained in:
+2
-2
@@ -40,14 +40,14 @@ public class PayController {
|
|||||||
|
|
||||||
@PostMapping("/recharge")
|
@PostMapping("/recharge")
|
||||||
@Operation(summary = "创建充值支付订单")
|
@Operation(summary = "创建充值支付订单")
|
||||||
public CommonResult<PayOrderRespDTO> initiatePay(@RequestBody PayRechargeOrderReqVO payRechargeOrderReqVO) {
|
public CommonResult<PayOrderRespDTO> recharge(@RequestBody PayRechargeOrderReqVO payRechargeOrderReqVO) {
|
||||||
PayOrderRespDTO payOrderRespDTO = payOrderService.rechargePay(payRechargeOrderReqVO);
|
PayOrderRespDTO payOrderRespDTO = payOrderService.rechargePay(payRechargeOrderReqVO);
|
||||||
return success(payOrderRespDTO);
|
return success(payOrderRespDTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/product")
|
@PostMapping("/product")
|
||||||
@Operation(summary = "创建产品支付订单")
|
@Operation(summary = "创建产品支付订单")
|
||||||
public CommonResult<PayOrderRespDTO> initiatePay(@RequestBody PayProductOrderUnifiedReqVO payProductOrderUnifiedReqVO) {
|
public CommonResult<PayOrderRespDTO> productPay(@RequestBody PayProductOrderUnifiedReqVO payProductOrderUnifiedReqVO) {
|
||||||
PayOrderRespDTO payOrderRespDTO = payOrderService.productPay(payProductOrderUnifiedReqVO);
|
PayOrderRespDTO payOrderRespDTO = payOrderService.productPay(payProductOrderUnifiedReqVO);
|
||||||
return success(payOrderRespDTO);
|
return success(payOrderRespDTO);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user