GscApiController.java 634 Bytes
package com.glsx.usedcar.web.api;

import com.glsx.usedcar.gsc.GscApiInvoker;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@Slf4j
@RestController
@RequestMapping("/api/gsc")
public class GscApiController {

    @Resource
    private GscApiInvoker gscApiInvoker;

    @GetMapping("getCarBrandComplete")
    public String getCarBrandComplete() {
        return gscApiInvoker.getCarBrandComplete();
    }

    @GetMapping("getCarTypeList")
    public String getCarTypeList(@RequestParam String csId) {
        return gscApiInvoker.getCarTypeList(csId);
    }
}