feat():增加了删除 修改状态
parent
8b4661bd77
commit
9d798e1d46
|
@ -94,7 +94,7 @@ public class OrderPayCustomerController {
|
|||
* @return
|
||||
*/
|
||||
@DeleteMapping("/{orderCustomerId}")
|
||||
@Operation(summary = "客户信息删除",description = "通过客户id删除")
|
||||
@Operation(summary = "客户信息删除",description = "通过客户id删除,七天内使用过接口不可删除")
|
||||
public Result<String> delete(@PathVariable("orderCustomerId") Long orderCustomerId){
|
||||
orderPayCustomerService.removeById(orderCustomerId);
|
||||
return Result.success(null,"操作成功");
|
||||
|
@ -110,7 +110,7 @@ public class OrderPayCustomerController {
|
|||
return Result.success(orderPayCustomerService.getById(orderCustomerId),"操作成功");
|
||||
}
|
||||
/**
|
||||
* 禁用
|
||||
* 客户禁用支付接口
|
||||
* @param orderCustomerId
|
||||
* @return
|
||||
*/
|
||||
|
@ -121,7 +121,7 @@ public class OrderPayCustomerController {
|
|||
return Result.success(null,"操作成功");
|
||||
}
|
||||
/**
|
||||
* 启用
|
||||
* 客户启用支付接口
|
||||
* @param orderCustomerId
|
||||
* @return
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue