src/main/java/com/zy/crm/manager/controller/CstmrController.java
@@ -339,5 +339,17 @@ return R.ok("添加成功"); } @RequestMapping(value = "/cstmr/followers/remove/auth") @ManagerAuth public R cstmrFollowersRemove(@RequestParam("cstmrId") Long cstmrId, @RequestParam("userId") Long userId) { if (Cools.isEmpty(cstmrId, userId)) { return R.parse(BaseRes.PARAM); } if (!cstmrFollService.delete(new EntityWrapper<CstmrFoll>().eq("cstmr_id", cstmrId).eq("user_id", userId))) { throw new CoolException("删除失败,请联系管理员"); } return R.ok("删除成功"); } }