From 026957ad315236ba9d48689cd78b458ed7fb5ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=BE=E5=A3=B3?= <121141103+disk5@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:31:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=9F=9F=E5=90=8D=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unpackage/dist/dev/mp-weixin/project.private.config.json | 3 ++- unpackage/dist/dev/mp-weixin/utils/http.js | 2 +- utils/http.js | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/unpackage/dist/dev/mp-weixin/project.private.config.json b/unpackage/dist/dev/mp-weixin/project.private.config.json index 94d6f2f..15ede59 100644 --- a/unpackage/dist/dev/mp-weixin/project.private.config.json +++ b/unpackage/dist/dev/mp-weixin/project.private.config.json @@ -2,6 +2,7 @@ "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "projectname": "gree_leran", "setting": { - "compileHotReLoad": true + "compileHotReLoad": true, + "urlCheck": false } } \ No newline at end of file diff --git a/unpackage/dist/dev/mp-weixin/utils/http.js b/unpackage/dist/dev/mp-weixin/utils/http.js index 45b2612..c5273e8 100644 --- a/unpackage/dist/dev/mp-weixin/utils/http.js +++ b/unpackage/dist/dev/mp-weixin/utils/http.js @@ -1,7 +1,7 @@ "use strict"; const common_vendor = require("../common/vendor.js"); const utils_Auth = require("./Auth.js"); -const baseUrl = "http://127.0.0.1:8080"; +const baseUrl = "https://9miao.fun/prod-api"; const http = (option) => { if (!option instanceof Object) { throw "参数非法"; diff --git a/utils/http.js b/utils/http.js index 5dd310d..4ec59c6 100644 --- a/utils/http.js +++ b/utils/http.js @@ -2,8 +2,8 @@ import { getToken } from "./Auth.js" -// export const baseUrl = "https://9miao.fun/prod-api" -export const baseUrl="http://127.0.0.1:8080" +export const baseUrl = "https://9miao.fun/prod-api" +// export const baseUrl="http://127.0.0.1:8080" export const http = (option) => { if (!option instanceof Object) {