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);
|
||||
Long userId = loginUser.getId();
|
||||
LambdaQueryWrapper<Contacts> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(Contacts::getId, userId);
|
||||
queryWrapper.eq(Contacts::getUserId, userId);
|
||||
List<Contacts> contactsList = contactsService.list(queryWrapper);
|
||||
Collections.reverse(contactsList);
|
||||
return ResultUtils.success(contactsList);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
spring:
|
||||
profiles:
|
||||
active: test
|
||||
active: dev
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user