|
@@ -194,9 +194,8 @@ public class ApiBrandController extends ApiBaseAction {
|
|
if(!ObjectUtils.isEmpty(sceneRes)){
|
|
if(!ObjectUtils.isEmpty(sceneRes)){
|
|
entity.setSceneName(sceneRes.getString("sceneName"));
|
|
entity.setSceneName(sceneRes.getString("sceneName"));
|
|
}
|
|
}
|
|
- Long userId = getUserId();
|
|
|
|
int canshow = 0;
|
|
int canshow = 0;
|
|
- UserVo userVo = apiUserService.queryObject(userId);
|
|
|
|
|
|
+ UserVo userVo = apiUserService.queryByMobile(getUserName());
|
|
if(null != userVo && org.apache.commons.lang.StringUtils.isNotBlank(userVo.getMobile())){
|
|
if(null != userVo && org.apache.commons.lang.StringUtils.isNotBlank(userVo.getMobile())){
|
|
//检查是否有带看权限,并更新
|
|
//检查是否有带看权限,并更新
|
|
TbUser sysUserEntity = zhiHouseService.queryByUserMobile(userVo.getMobile());
|
|
TbUser sysUserEntity = zhiHouseService.queryByUserMobile(userVo.getMobile());
|