fix: create order
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
const BASE_URL = "http://192.168.1.3:3999";
|
||||
// const BASE_URL = "http://192.168.31.253:3999";
|
||||
import { useUserStore } from "@/stores/user";
|
||||
import { getPlatform } from "./system.js";
|
||||
const platform = getPlatform();
|
||||
|
||||
// 环境区分
|
||||
// const BASE_URL =
|
||||
@@ -33,6 +35,7 @@ function hideLoading() {
|
||||
function getHeaders() {
|
||||
const headers = {
|
||||
"x-app-id": "69665538a49b8ae3be50fe5d",
|
||||
"x-platform": platform,
|
||||
};
|
||||
const userStore = useUserStore();
|
||||
if (userStore.token) {
|
||||
|
||||
Reference in New Issue
Block a user