增加本地和测试配置文件,便于本地调试

This commit is contained in:
2025-08-10 12:07:25 +08:00
parent 5424897e0c
commit eba37747e4
5 changed files with 10 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import com.sczx.order.thirdpart.dto.req.CarQueryConditionReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
@FeignClient(name = "sczx-car")
@FeignClient(name = "sczx-car", url = "${sczx-car.ribbon.listOfServers:}")
public interface CarFacade {
@RequestMapping("/carModel/getCarModelByModelId")

View File

@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(name = "sczx-store")
@FeignClient(name = "sczx-store", url = "${sczx-store.ribbon.listOfServers:}")
public interface StoreFacade {
@RequestMapping("/pub/getStoreById")

View File

@ -0,0 +1,7 @@
sczx-store:
ribbon:
listOfServers: http://115.190.8.52:8082
sczx-car:
ribbon:
listOfServers: http://115.190.8.52:8083

View File