|
@@ -190,8 +190,8 @@ public class PersonController {
|
|
|
* @return
|
|
|
*/
|
|
|
@ResponseBody
|
|
|
- @RequestMapping("/del/{id}")
|
|
|
- public R del(@PathVariable Long id) {
|
|
|
+ @RequestMapping("/delete/{id}")
|
|
|
+ public R delete(@PathVariable Long id) {
|
|
|
int c = personService.delete(id);
|
|
|
return c > 0? R.ok() : R.fail("删除失败");
|
|
|
}
|