feat():增删改查
parent
1138a90291
commit
1339af0a32
|
@ -132,6 +132,8 @@ public class OrderPayCustomerController {
|
|||
* @param orderCustomerId ID
|
||||
* @return 客户信息
|
||||
*/
|
||||
@GetMapping("/disable/{orderCustomerId}")
|
||||
@Operation(summary = "通过ID禁用", description = "通过ID禁用客户,禁用之后禁止调用支付相关接口")
|
||||
public Result<String> disable(@PathVariable("orderCustomerId") Long orderCustomerId) {
|
||||
this.orderPayCustomerService.disable(orderCustomerId);
|
||||
return Result.success(null, "操作成功");
|
||||
|
@ -142,6 +144,8 @@ public class OrderPayCustomerController {
|
|||
* @param orderCustomerId ID
|
||||
* @return 客户信息
|
||||
*/
|
||||
@GetMapping("/enable/{orderCustomerId}")
|
||||
@Operation(summary = "通过ID启用客户", description = "通过ID启用客户,启用之后禁止调用支付相关接口")
|
||||
public Result<String> enable(@PathVariable("orderCustomerId") Long orderCustomerId) {
|
||||
this.orderPayCustomerService.enable(orderCustomerId);
|
||||
return Result.success(null, "操作成功");
|
||||
|
|
Loading…
Reference in New Issue