chore: establish V1.1 recovery baseline

This commit is contained in:
2026-09-09 22:05:00 +08:00
commit b46b48eb33
947 changed files with 155471 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/**
* 环境配置
*/
declare const wx: WechatMiniprogram.Wx;
function isDev(): boolean {
try {
const info = (wx.getDeviceInfo ? wx.getDeviceInfo() : wx.getSystemInfoSync()) as any;
return info.platform === 'devtools';
} catch {
return false;
}
}
export const API_BASE_URL: string = isDev()
? 'http://localhost:8085/api/v1'
: 'https://api.danyang-match.example.com/api/v1';
export const IS_DEV: boolean = isDev();