- 将商品信息示例中的服务端地址从本地地址更改为外网地址,以便于实际使用 - 该更改旨在确保示例代码能够正确连接到外部服务,提升示例的实用性master
@@ -9,7 +9,8 @@ const localClient = new ProductApiClient({ | |||
// 外网服务端实例 | |||
const serverClient = { | |||
baseURL: "http://192.168.1.107:8080", | |||
// baseURL: "http://192.168.1.107:8080", // 本地 | |||
baseURL: "https://digital.sohomall.jp/prod-api", // 外网 | |||
timeout: 10000 * 30, // 30秒 | |||
params: { | |||
pageNum: 1, |