|
@@ -1,7 +1,14 @@
|
|
|
-let online = process.env.TARO_ENV == 'rn' ? false : false;
|
|
|
|
|
-export let baseUrl = online ? 'https://api.fast.liveplus.fun' : 'https://api.fast.dev.liveplus.fun';
|
|
|
|
|
-export let APP_VERSION = '1.0.0'
|
|
|
|
|
-export let WX_VERSION = '1.4.1'
|
|
|
|
|
|
|
+const online = process.env.TARO_ENV == 'rn' ? false : false;
|
|
|
|
|
+
|
|
|
|
|
+import { WX_VERSION as _WX_VERSION, APP_VERSION as _APP_VERSION } from "../../../config/env";
|
|
|
|
|
+
|
|
|
|
|
+export const baseUrl = online ? 'https://api.fast.liveplus.fun' : 'https://api.fast.dev.liveplus.fun';
|
|
|
|
|
+// export const APP_VERSION = '1.0.0'
|
|
|
|
|
+// export const WX_VERSION = '1.4.1'
|
|
|
|
|
+
|
|
|
|
|
+export const APP_VERSION = _APP_VERSION
|
|
|
|
|
+export const WX_VERSION = _WX_VERSION
|
|
|
|
|
+
|
|
|
export let imgUrl = online
|
|
export let imgUrl = online
|
|
|
? 'https://api.fast.liveplus.fun/static/image/'
|
|
? 'https://api.fast.liveplus.fun/static/image/'
|
|
|
: 'https://api.fast.dev.liveplus.fun/static/image/';
|
|
: 'https://api.fast.dev.liveplus.fun/static/image/';
|