src/main/java/com/ruoyi/basic/controller/CustomerController.java
@@ -121,4 +121,23 @@ } /** * 分配客户 */ @Log(title = "客户档案", businessType = BusinessType.OTHER) @PostMapping("/assignCustomer") public AjaxResult assignCustomer(@RequestBody CustomerDto customer) { customerService.assignCustomer(customer); return AjaxResult.success(); } /** * 回收客户 */ @Log(title = "客户档案", businessType = BusinessType.OTHER) @PostMapping("/recycleCustomer") public AjaxResult recycleCustomer(@RequestBody CustomerDto customer) { customerService.recycleCustomer(customer); return AjaxResult.success(); } }