|
@@ -97,6 +97,11 @@ public class AreaController {
|
|
|
return R.ok(this.areaService.removeByIds(idList));
|
|
return R.ok(this.areaService.removeByIds(idList));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 根据城市名称查询编码
|
|
|
|
|
+ * @param name
|
|
|
|
|
+ * @return R
|
|
|
|
|
+ */
|
|
|
@GetMapping("/code")
|
|
@GetMapping("/code")
|
|
|
@ApiOperation("name获取code")
|
|
@ApiOperation("name获取code")
|
|
|
public R getCodeByName(@RequestParam String name) {
|
|
public R getCodeByName(@RequestParam String name) {
|