小程序初始提交

This commit is contained in:
jdc
2025-11-13 10:36:23 +08:00
parent f26b4f9a2f
commit 5db3b180eb
447 changed files with 83351 additions and 0 deletions

21
cool-unix/config/prod.ts Normal file
View File

@@ -0,0 +1,21 @@
import { get } from "@/cool";
import { proxy } from "./proxy";
export const prod = () => {
const host = get(proxy, `prod.target`) as string;
let baseUrl: string;
// #ifdef H5
baseUrl = host + "/api";
// #endif
// #ifndef H5
baseUrl = host + "/api";
// #endif
return {
host,
baseUrl
};
};