个人主页是否关闭增加

This commit is contained in:
daihh
2022-10-27 16:28:04 +08:00
parent 7147e3971d
commit 95e3ee7e59
2 changed files with 8 additions and 3 deletions

View File

@@ -100,6 +100,7 @@ public class PortalConsoleApi extends ApiBaseController{
map.put("name",user.getName());
map.put("sex",user.getGender());
map.put("userNo",user.getUserNo());
map.put("showHome",user.getShowHome()==null? true:user.getShowHome());
map.put("userType",utype);
map.put("departId",user.getDepartId());
map.put("sign",user.getSign());

View File

@@ -7,10 +7,15 @@ import java.util.Map;
import javax.annotation.Resource;
import com.xboe.system.user.vo.UserAccountVo;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.xboe.account.entity.Account;
import com.xboe.account.service.IAccountService;
@@ -29,7 +34,6 @@ import com.xboe.system.user.service.IUserService;
import com.xboe.system.user.vo.UserSimpleVo;
import com.xboe.system.user.vo.UserVo;
import lombok.extern.slf4j.Slf4j;
/**