package com.ruoyi.web.controller.api; import com.google.common.collect.Lists; import com.ruoyi.common.core.domain.R; import com.ruoyi.system.model.TStreet; import com.ruoyi.system.service.ITStreetService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import org.springframework.context.annotation.Lazy; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util.ArrayList; import java.util.List; /** *
* 街道 前端控制器 *
* * @author mitao * @since 2025-03-19 */ @Api(tags = {"街道相关接口"}) @RestController @RequestMapping("/t-street") @RequiredArgsConstructor(onConstructor_ = {@Lazy}) public class TStreetController { private final ITStreetService tStreetService; @GetMapping("/list") @ApiOperation(value = "获取街道列表") public R