Commit 5d8b3090 authored by hezhen's avatar hezhen

123

parent 4da10060
......@@ -67,6 +67,7 @@ public class AppUserRelationBiz extends BaseBiz<AppUserRelationMapper,AppUserRel
* @param parentId
*/
public void bindRelation(Integer userId,Integer parentId,Integer type){
try {
if (userId.equals(parentId)){
log.info("----userId==="+userId+"----parentId===="+parentId+"----自己不能成为自己的上线");
return;
......@@ -118,6 +119,10 @@ public class AppUserRelationBiz extends BaseBiz<AppUserRelationMapper,AppUserRel
staffUserBiz.addAppStaffUser(staffUserDTO);
}
}
}catch (Exception e){
log.info("网络异常===" + e.getMessage());
}
}
//首页关系绑定
public ObjectRestResponse appBindRelation(Integer userId,String code){
......
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