|
|
@@ -22,8 +22,8 @@ import java.math.BigInteger; |
|
|
|
* @since 2020-04-01 |
|
|
|
*/ |
|
|
|
@RestController |
|
|
|
@RequestMapping("/agency") |
|
|
|
public class TauvCityController { |
|
|
|
@RequestMapping("/lscity") |
|
|
|
public class LsCityController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private ITauvCityService tauvAgencyService; |
|
|
@@ -31,7 +31,7 @@ public class TauvCityController { |
|
|
|
@Autowired |
|
|
|
private Response response; |
|
|
|
|
|
|
|
private static final String controllerName = "agency"; |
|
|
|
private static final String controllerName = "lscity"; |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取机构列表 |
|
|
@@ -115,12 +115,12 @@ public class TauvCityController { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取子级城市列表 |
|
|
|
* 获取城市子级列表 |
|
|
|
* |
|
|
|
* @param pid 上级ID |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@PostMapping("/getChildCityList") |
|
|
|
@GetMapping("/getChildCityList") |
|
|
|
public Response getChildCityList(BigInteger pid) { |
|
|
|
return tauvAgencyService.getChildCityList(pid); |
|
|
|
} |