package com.nms.swspkmas_standalone.controller; import com.nms.swspkmas_standalone.response.CommonResult; import com.nms.swspkmas_standalone.service.CommonService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @Api(tags = "通用接口前端控制器") @RestController @RequestMapping("/api/common") public class CommonController { @Autowired private CommonService commonService; @ApiOperation("新疆地区列表") @GetMapping(value = "/areaList") public CommonResult areaListOfXinJiang(){ return CommonResult.success(commonService.areaListOfXinJiang()); } }