fix: create order

This commit is contained in:
zzc
2026-02-11 23:59:51 +08:00
parent 6ca148f65e
commit f5841d0934
4 changed files with 16 additions and 3 deletions

View File

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