liujie
2026-04-03 199b087e97231bc602cd5ed8668f37d6f336dff4
xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpOpenCityController.java
@@ -11,6 +11,7 @@
import com.xiaopeng.operation.vo.OpenCityListVO;
import com.xiaopeng.operation.vo.XpOpenCityVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
@@ -51,8 +52,9 @@
     */
    @ApiOperation(value = "获取开通城市列表(管理后台)", tags = {"管理后台-交易管理"}, response = OpenCityListVO.class)
    @GetMapping("/api/v1/openCity/list")
    public R<List<OpenCityListVO>> getOpenCityList() {
        List<OpenCityListVO> list = xpOpenCityService.getOpenCityListForAdmin();
    @ApiImplicitParam(name = "type", value = "类型:1-路线规划配置使用 2-定价管理配置使用", required = true, dataTypeClass = Integer.class)
    public R<List<OpenCityListVO>> getOpenCityList(@RequestParam("type") Integer type) {
        List<OpenCityListVO> list = xpOpenCityService.getOpenCityListForAdmin(type);
        return R.ok(list);
    }