Commit 0da03d65 by 崔彦峰

fix(car-brand): 修复车辆品牌接口注解配置

- 移除过时的 ServiceMethod 注解
- 更新 PostMapping 路径配置为正确的接口地址
- 确保接口方法名与实际路径匹配
1 parent 6c7e812d
......@@ -22,9 +22,9 @@ public class CarBrandController {
@Autowired
private CarBrandRemote carBrandRemote;
@ServiceMethod(method = "dj.api.smartcarlife.common.car.brand.list")
@ApiOperation("查询车辆品牌")
// @PostMapping("/default_method/1.0.0")
@ServiceMethod(method = "dj.api.smartcarlife.common.car.brand.list")
// @PostMapping("/dj.api.smartcarlife.common.car.brand.list/1.0.0")
public RopResponse<CarBrandListResDTO> getCarBrandList(AbstractRopRequest request){
RpcResponse<CarBrandListResDTO> response = carBrandRemote.getCarBrandList();
if (response.isFailed() || !response.hasResult()) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!