Commit 6ee2efa9 by 徐高华

朋友圈

parent 7b8e0a27
...@@ -274,14 +274,8 @@ public class QwMomentController { ...@@ -274,14 +274,8 @@ public class QwMomentController {
// 删除ID // 删除ID
HaobanQwMomentPlanVO vo = detailResponse.getResult() ; HaobanQwMomentPlanVO vo = detailResponse.getResult() ;
vo.setPlanId(null); vo.setPlanId(null);
boolean isAdmin = false ;
AuthorizedUser loginUser = SessionContextUtils.getLoginUser() ;
if (loginUser.getSuperAdmin() == 1 || null== loginUser.getDepartAuth() || 3 == loginUser.getDepartAuth()) {
isAdmin = true ;
}
vo.setBeginDate(null);
vo.setEndDate(null);
vo.setPublishTime(null); vo.setPublishTime(null);
vo.setPublishType(1);
return RestResponse.successResult(vo) ; return RestResponse.successResult(vo) ;
} }
......
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