| | |
| | | import com.estate.expert.admin.domain.common.request.PageReq; |
| | | import com.estate.expert.admin.domain.user.User; |
| | | import com.estate.expert.admin.service.DeviceService; |
| | | import com.estate.expert.common.auth.IgnoreAuth; |
| | | import com.estate.expert.common.domain.Session; |
| | | import com.estate.expert.common.rpc.Result; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | |
| | | @Api(tags = "管理后台/设备管理") |
| | | @Slf4j |
| | |
| | | @Resource |
| | | private DeviceService deviceService; |
| | | |
| | | |
| | | @ApiOperation(value = "设备列表") |
| | | @PostMapping("/list") |
| | | public Result list(@RequestParam(value = "keyword", required = false) String keyword, |