|
@@ -51,7 +51,7 @@ public class MyFriendController extends AppBaseController {
|
|
|
@ApiOperation("好友列表")
|
|
|
@ApiImplicitParam(name = "searchValue", value = "模糊条件:好友ID、好友昵称、拼音大写首字母",paramType="String")
|
|
|
@GetMapping("/myList")
|
|
|
- public TableDataInfo list(String searchValue) {
|
|
|
+ public AjaxResult list(String searchValue) {
|
|
|
AppMemberVo user = getLoginUser().getUser();
|
|
|
TbMyFriends tbMyFriends = new TbMyFriends();
|
|
|
//已通过的好友
|
|
@@ -59,7 +59,7 @@ public class MyFriendController extends AppBaseController {
|
|
|
tbMyFriends.setStatus("2");
|
|
|
tbMyFriends.setSearchValue(searchValue);
|
|
|
List<TbMyFriends> list = friendsService.pageList(tbMyFriends);
|
|
|
- return getDataTable(list);
|
|
|
+ return AjaxResult.success(list);
|
|
|
}
|
|
|
|
|
|
|