Commit 98622bc5 authored by hezhen's avatar hezhen

Merge branch 'master_activity' into base-modify

parents 1a64f4fc 1d2a3d35
...@@ -291,11 +291,11 @@ public class ActivityBmBiz extends BaseBiz<ActivityBmMapper, ActivityBm> { ...@@ -291,11 +291,11 @@ public class ActivityBmBiz extends BaseBiz<ActivityBmMapper, ActivityBm> {
//获取用户信息 //获取用户信息
public ObjectRestResponse getUserInfo(Integer parentId,HttpServletRequest request){ public ObjectRestResponse getUserInfo(Integer parentId,HttpServletRequest request){
JSONObject obj =new JSONObject(); JSONObject obj =new JSONObject();
obj.put("parentId",0); obj.put("pId",0);
obj.put("name",""); obj.put("name","");
User user=userBiz.getSession(request); User user=userBiz.getSession(request);
if (user!=null){ if (user!=null){
obj.put("parentId",user.getId()); obj.put("pId",user.getId());
obj.put("name",user.getNickName()); obj.put("name",user.getNickName());
} }
if (parentId!=null&&parentId>0){ if (parentId!=null&&parentId>0){
...@@ -304,7 +304,7 @@ public class ActivityBmBiz extends BaseBiz<ActivityBmMapper, ActivityBm> { ...@@ -304,7 +304,7 @@ public class ActivityBmBiz extends BaseBiz<ActivityBmMapper, ActivityBm> {
obj.put("name",user.getNickName()); obj.put("name",user.getNickName());
} }
} }
return ObjectRestResponse.succ(); return ObjectRestResponse.succ(obj);
} }
} }
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