修改:
1.放行爬大哥登录接口 2.添加 redis 持久化登录 token 3.修改排序名称字段注解信息 4.修改筛选大哥控制类方法名
This commit is contained in:
@@ -3,11 +3,8 @@ package com.yupi.springbootinit.controller;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.yupi.springbootinit.common.BaseResponse;
|
||||
import com.yupi.springbootinit.common.ResultUtils;
|
||||
import com.yupi.springbootinit.model.dto.host.HostInfoDTO;
|
||||
import com.yupi.springbootinit.model.dto.host.ServerBigBrotherDTO;
|
||||
import com.yupi.springbootinit.model.vo.bigbrother.ServerBigBrotherVO;
|
||||
import com.yupi.springbootinit.model.vo.hosts.NewHostsVO;
|
||||
import com.yupi.springbootinit.service.HostInfoService;
|
||||
import com.yupi.springbootinit.service.ServerBigBrotherService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
@@ -29,7 +26,7 @@ public class BigBrotherController {
|
||||
private ServerBigBrotherService bigBrotherService;
|
||||
|
||||
@PostMapping("page")
|
||||
public BaseResponse<Page<ServerBigBrotherVO>> hostsInfo(@RequestBody ServerBigBrotherDTO serverBigBrotherDTO){
|
||||
public BaseResponse<Page<ServerBigBrotherVO>> getBigBrotherPage(@RequestBody ServerBigBrotherDTO serverBigBrotherDTO){
|
||||
Page<ServerBigBrotherVO> conditionHosts = bigBrotherService.getConditionHosts(serverBigBrotherDTO);
|
||||
return ResultUtils.success(conditionHosts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user