mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-13 21:30:25 +00:00
refactor(daxpay): 修正收银台相关接口命名
This commit is contained in:
@@ -39,9 +39,9 @@ public class CheckoutController {
|
||||
|
||||
@PaymentVerify
|
||||
@Operation(summary = "创建一个收银台链接")
|
||||
@PostMapping("/creat")
|
||||
public DaxResult<CheckoutUrlResult> creat(@RequestBody CheckoutCreatParam checkoutParam){
|
||||
return DaxRes.ok(checkoutService.creat(checkoutParam));
|
||||
@PostMapping("/create")
|
||||
public DaxResult<CheckoutUrlResult> create(@RequestBody CheckoutCreatParam checkoutParam){
|
||||
return DaxRes.ok(checkoutService.create(checkoutParam));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据订单号和收银台方式获取收银台链接")
|
||||
|
@@ -56,7 +56,7 @@ public class CheckoutService {
|
||||
/**
|
||||
* 生成收银台链接
|
||||
*/
|
||||
public CheckoutUrlResult creat(CheckoutCreatParam checkoutParam){
|
||||
public CheckoutUrlResult create(CheckoutCreatParam checkoutParam){
|
||||
// 校验支付限额
|
||||
checkoutAssistService.validationLimitAmount(checkoutParam);
|
||||
// 校验超时时间, 不可早于当前
|
||||
|
Reference in New Issue
Block a user