From a190d5db36605b5306920305129bf58b7925c989 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 1 May 2025 06:52:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(utils):=20=E6=9B=B4=E6=96=B0API=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=9C=B0=E5=9D=80=E4=BB=A5=E4=BD=BF=E7=94=A8HTTPS?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将开发和测试环境的API接口地址更新为HTTPS协议,确保数据传输的安全性。同时,清理了不再使用的旧地址。 --- utils/getUrl.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/getUrl.js b/utils/getUrl.js index 9c63f8c..681aa9f 100644 --- a/utils/getUrl.js +++ b/utils/getUrl.js @@ -4,9 +4,10 @@ current = accountInfo.miniProgram.envVersion; const api = { // develop:"http://h5.xzaiyp.top", - develop:"http://pet-admin.hhlm1688.com/api", + develop:"https://api.catmdogd.com/prod-api", + // develop:"http://pet-admin.hhlm1688.com/api", // develop: "http://youyi-test.natapp1.cc/prod-api", // 开发 - trial: "http://h5.xzaiyp.top", //测试 + trial: "https://api.catmdogd.com/prod-api", //测试 release: "https://api.catmdogd.com/prod-api", }