12345678910111213141516171819202122232425262728293031323334353637 |
- // https
- const wsUrl = " ";
- const apiUrl = " ";
- const registerUrl = " ";
- export const version = 'UER 3.8.3+1 SDK v3.8.3-patch.3-e-v1.1.11'
- // 高德地图web api key 用于根据经纬度生成快照 当前key已绑定安卓包名 需要自行申请替换
- export const AmapWebKey = "094052d9eecdc24dfa16f3e1b18c660d";
- export const getRegisterUrl = () => uni.getStorageSync("IMRegisteUrl") || registerUrl;
- export const getApiUrl = () => uni.getStorageSync("IMApiUrl") || apiUrl;
- export const getWsUrl = () => uni.getStorageSync("IMWsUrl") || wsUrl;
- // 统一通过命名导出
- export const config = {
- version,
- AmapWebKey,
- getRegisterUrl,
- getApiUrl,
- getWsUrl
- };
- // module.exports = {
- // version,
- // AmapWebKey,
- // getRegisterUrl,
- // getApiUrl,
- // getWsUrl,
- // };
|