Commit 8cc2fded authored by liwei's avatar liwei

增加了关注校验实名

parent ccd0653f
......@@ -638,6 +638,8 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
//不能自己给自己点赞
throw new CyServiceException("不能关注自己!");
}
//添加实名判断
userUtil.checkUserAuth("请先实名认证!");
//添加到关注表
int line = baseMapper.addFollow(followDTO);
return new CyPersistModel(line);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment