|
@@ -4958,6 +4958,22 @@ public class SmartUserController implements SmartUserControllerAPI {
|
|
|
|
|
|
|
|
return CommonResult.ok(jsonObject);
|
|
return CommonResult.ok(jsonObject);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ @DESRespondSecret(validated = true)
|
|
|
|
|
+ public CommonResult addressBook(Integer userId) {
|
|
|
|
|
+// 获取学生信息
|
|
|
|
|
+ SmartUser smartById = smartUserService.getSmartById(userId);
|
|
|
|
|
+// 获取家长信息
|
|
|
|
|
+ List<SmartUser> list=smartUserService.getAddressBook(userId);
|
|
|
|
|
+
|
|
|
|
|
+ HashMap<String, Object> map = new HashMap<>();
|
|
|
|
|
+ map.put("student",smartById);
|
|
|
|
|
+
|
|
|
|
|
+ map.put("patriarch",list);
|
|
|
|
|
+
|
|
|
|
|
+ return CommonResult.ok(map);
|
|
|
|
|
+ }
|
|
|
//endregion
|
|
//endregion
|
|
|
|
|
|
|
|
//region 用户导出
|
|
//region 用户导出
|