this is 4.2 update
This commit is contained in:
parent
cbdb0bd965
commit
c8d30330f6
|
@ -132,7 +132,7 @@ public class ContactsController {
|
||||||
User loginUser = userService.getLoginUser(request);
|
User loginUser = userService.getLoginUser(request);
|
||||||
Long userId = loginUser.getId();
|
Long userId = loginUser.getId();
|
||||||
LambdaQueryWrapper<Contacts> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<Contacts> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(Contacts::getId, userId);
|
queryWrapper.eq(Contacts::getUserId, userId);
|
||||||
List<Contacts> contactsList = contactsService.list(queryWrapper);
|
List<Contacts> contactsList = contactsService.list(queryWrapper);
|
||||||
Collections.reverse(contactsList);
|
Collections.reverse(contactsList);
|
||||||
return ResultUtils.success(contactsList);
|
return ResultUtils.success(contactsList);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: test
|
active: dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user