mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-10-14 13:50:25 +00:00
refactor(daxpay): 修正收银台相关接口命名
This commit is contained in:
@@ -11,7 +11,7 @@ import cn.bootx.platform.core.exception.BizInfoException;
|
|||||||
public class RouterCheckException extends BizInfoException {
|
public class RouterCheckException extends BizInfoException {
|
||||||
|
|
||||||
public RouterCheckException() {
|
public RouterCheckException() {
|
||||||
super("没有对应请求路径的权限");
|
super("未登录或不拥有改请求路径的请求权限");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -39,9 +39,9 @@ public class CheckoutController {
|
|||||||
|
|
||||||
@PaymentVerify
|
@PaymentVerify
|
||||||
@Operation(summary = "创建一个收银台链接")
|
@Operation(summary = "创建一个收银台链接")
|
||||||
@PostMapping("/creat")
|
@PostMapping("/create")
|
||||||
public DaxResult<CheckoutUrlResult> creat(@RequestBody CheckoutCreatParam checkoutParam){
|
public DaxResult<CheckoutUrlResult> create(@RequestBody CheckoutCreatParam checkoutParam){
|
||||||
return DaxRes.ok(checkoutService.creat(checkoutParam));
|
return DaxRes.ok(checkoutService.create(checkoutParam));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "根据订单号和收银台方式获取收银台链接")
|
@Operation(summary = "根据订单号和收银台方式获取收银台链接")
|
||||||
|
@@ -56,7 +56,7 @@ public class CheckoutService {
|
|||||||
/**
|
/**
|
||||||
* 生成收银台链接
|
* 生成收银台链接
|
||||||
*/
|
*/
|
||||||
public CheckoutUrlResult creat(CheckoutCreatParam checkoutParam){
|
public CheckoutUrlResult create(CheckoutCreatParam checkoutParam){
|
||||||
// 校验支付限额
|
// 校验支付限额
|
||||||
checkoutAssistService.validationLimitAmount(checkoutParam);
|
checkoutAssistService.validationLimitAmount(checkoutParam);
|
||||||
// 校验超时时间, 不可早于当前
|
// 校验超时时间, 不可早于当前
|
||||||
|
Reference in New Issue
Block a user