更改域名地址

This commit is contained in:
虾壳 2024-06-22 15:31:44 +08:00
parent b155840162
commit 026957ad31
3 changed files with 5 additions and 4 deletions

View File

@ -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
}
}

View File

@ -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 "参数非法";

View File

@ -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) {