package com.hxzk.gps.controller.Loragateway; import cn.dev33.satoken.annotation.SaCheckLogin; import com.hxzk.gps.controller.Loragateway.dto.TableSearchResult.TableSearchResult; import com.hxzk.gps.result.ResultTable; import com.hxzk.gps.service.Anchor.TbAchorService; import com.hxzk.gps.service.Loragateway.TbLoragatewayService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RestController; /** *
* 前端控制器 *
* * @author YuZhiTong * @since 2025-05-22 */ @RestController @RequestMapping("/Loragateway") @Api(tags="网关管理") public class TbLoragatewayController { @Autowired private TbLoragatewayService loragatewayService; @SaCheckLogin @ApiOperation(value = "平台网关列表接口", notes = "该接口提供了平台网关信息列表查询功能") @PostMapping("FindLoragatewayInfo") public ResultTable FindLoragatewayInfo(@RequestBody TableSearchResult TableSearchResult){ return loragatewayService.FindLoragatewayInfo(TableSearchResult); } }