123333
This commit is contained in:
@@ -100,6 +100,9 @@ public class IndexController {
|
|||||||
@Operation(summary = "首页用户搜索接口-分页")
|
@Operation(summary = "首页用户搜索接口-分页")
|
||||||
@Log(title = "首页用户搜索接口-分页", businessType = BusinessType.OTHER, isSaveDb = false)
|
@Log(title = "首页用户搜索接口-分页", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||||
public R<List<UserListVo>> userPage(PageQuery page, UserQuery query){
|
public R<List<UserListVo>> userPage(PageQuery page, UserQuery query){
|
||||||
|
if(query.getType() == null){
|
||||||
|
query.setType(1);
|
||||||
|
}
|
||||||
Page<UserListVo> res = userService.pageApp(page,query);
|
Page<UserListVo> res = userService.pageApp(page,query);
|
||||||
return R.ok(res.getRecords());
|
return R.ok(res.getRecords());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user