域名更改
This commit is contained in:
parent
cce9e3cb52
commit
156e8947b5
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue