|
@@ -74,5 +74,16 @@ public class CustomerInfoController {
|
|
public String modifyCustomerInfo(@RequestBody CustomerInfo customerInfo){
|
|
public String modifyCustomerInfo(@RequestBody CustomerInfo customerInfo){
|
|
return customerInfoService.modifyCustomerInfo(customerInfo);
|
|
return customerInfoService.modifyCustomerInfo(customerInfo);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 删除客户信息
|
|
|
|
+ *
|
|
|
|
+ * @param example
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/deleteCustomerInfo")
|
|
|
|
+ public void deleteCustomerInfo(@RequestBody CustomerInfo example) {
|
|
|
|
+ customerInfoService.deleteCustomerInfo(example.getId());
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|