mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-06 04:27:55 +00:00
ref 回调通知和接口管理,swagger 开启自动平铺属性选项
This commit is contained in:
@@ -3,7 +3,7 @@ package cn.bootx.platform.daxpay.admin.controller.system;
|
||||
import cn.bootx.platform.common.core.rest.Res;
|
||||
import cn.bootx.platform.common.core.rest.ResResult;
|
||||
import cn.bootx.platform.daxpay.service.core.system.payinfo.service.PayWayInfoService;
|
||||
import cn.bootx.platform.daxpay.service.dto.system.payinfo.PayWayInfoDto;
|
||||
import cn.bootx.platform.daxpay.service.dto.system.payinfo.PayMethodInfoDto;
|
||||
import cn.bootx.platform.daxpay.service.param.system.payinfo.PayWayInfoParam;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
@@ -26,13 +26,13 @@ public class PayWayInfoController {
|
||||
|
||||
@Operation(summary = "获取全部")
|
||||
@GetMapping("/findAll")
|
||||
public ResResult<List<PayWayInfoDto>> findAll(){
|
||||
public ResResult<List<PayMethodInfoDto>> findAll(){
|
||||
return Res.ok(payWayInfoService.findAll());
|
||||
}
|
||||
|
||||
@Operation(summary = "根据ID获取")
|
||||
@GetMapping("/findById")
|
||||
public ResResult<PayWayInfoDto> findById(Long id){
|
||||
public ResResult<PayMethodInfoDto> findById(Long id){
|
||||
return Res.ok(payWayInfoService.findById(id));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user