package com.ycl.controller.region; import com.ycl.api.CommonResult; import com.ycl.controller.BaseController; import com.ycl.entity.region.SccgRegion; import com.ycl.service.region.ISccgRegionService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import java.util.List; /** *
* 遂昌行政区域 前端控制器 *
* * @author lyq * @since 2022-09-16 */ @RestController @RequestMapping("/sccg-region") @Api(tags = "行政区域") public class SccgRegionController extends BaseController { @Resource private ISccgRegionService iSccgRegionService; @ApiOperation("树结构") @GetMapping("/getTree") public CommonResult