|
@@ -17,6 +17,7 @@ import org.apache.catalina.User;
|
17
|
17
|
import org.apache.ibatis.annotations.Param;
|
18
|
18
|
import org.springframework.beans.BeanUtils;
|
19
|
19
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
20
|
+import org.springframework.beans.factory.annotation.Value;
|
20
|
21
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
21
|
22
|
import org.springframework.web.bind.annotation.*;
|
22
|
23
|
import org.springframework.web.multipart.MultipartFile;
|
|
@@ -266,4 +267,15 @@ public class UserController extends BaseController {
|
266
|
267
|
responseBean = iTaUserService.addWelcomeUser(userElement, user);
|
267
|
268
|
return responseBean;
|
268
|
269
|
}
|
|
270
|
+
|
|
271
|
+ @ApiOperation(value = "查看当前用户所有关联房产",notes = "查看当前用户所有关联房产")
|
|
272
|
+ @ApiImplicitParams({
|
|
273
|
+ @ApiImplicitParam(paramType = "path", dataTypeClass = String.class, name = "X-Auth-Token", value = "Token")
|
|
274
|
+ })
|
|
275
|
+ @RequestMapping(value ="/userhouse" ,method = RequestMethod.GET)
|
|
276
|
+ public ResponseBean userHouseList(HttpSession session){
|
|
277
|
+ UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
|
|
278
|
+ ResponseBean responseBean= iTaUserService.userHouseList(userElement);
|
|
279
|
+ return responseBean;
|
|
280
|
+ }
|
269
|
281
|
}
|