更改域名地址
This commit is contained in:
parent
b155840162
commit
026957ad31
|
@ -2,6 +2,7 @@
|
||||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||||
"projectname": "gree_leran",
|
"projectname": "gree_leran",
|
||||||
"setting": {
|
"setting": {
|
||||||
"compileHotReLoad": true
|
"compileHotReLoad": true,
|
||||||
|
"urlCheck": false
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
const common_vendor = require("../common/vendor.js");
|
const common_vendor = require("../common/vendor.js");
|
||||||
const utils_Auth = require("./Auth.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) => {
|
const http = (option) => {
|
||||||
if (!option instanceof Object) {
|
if (!option instanceof Object) {
|
||||||
throw "参数非法";
|
throw "参数非法";
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
import {
|
import {
|
||||||
getToken
|
getToken
|
||||||
} from "./Auth.js"
|
} from "./Auth.js"
|
||||||
// export const baseUrl = "https://9miao.fun/prod-api"
|
export const baseUrl = "https://9miao.fun/prod-api"
|
||||||
export const baseUrl="http://127.0.0.1:8080"
|
// export const baseUrl="http://127.0.0.1:8080"
|
||||||
|
|
||||||
export const http = (option) => {
|
export const http = (option) => {
|
||||||
if (!option instanceof Object) {
|
if (!option instanceof Object) {
|
||||||
|
|
Loading…
Reference in New Issue