springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java
@@ -98,7 +98,12 @@ ComSanshuoExpert expert = comSanShuoExpertService.getById(id); expert.setStatus(0); expert.setDelFlag(0); return R.ok(comSanShuoExpertService.updateById(expert)); boolean b = comSanShuoExpertService.updateById(expert); if (b){ //删除专家账号的权限 userService.removeExpertRole(expert.getPhone()); } return R.ok(); } /**