| 123456789101112131415161718192021 |
- const accountInfo = wx.getAccountInfoSync();
- const current = accountInfo.miniProgram.envVersion;
- //console.log(accountInfo, current)
- const api = {
- //开发
- // develop: "https://voms.bosind.com",
- develop: "https://voms-test.bosind.com",
- //体验版
- trial: "https://voms.bosind.com",
- // trial: "https://voms-test.bosind.com",
- // 正式
- release: "https://voms.bosind.com"
- }
- const requestPath = api[current];
- export {
- requestPath
- };
|