You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
442 B

1 week ago
1 month ago
1 week ago
  1. let current ="trial";
  2. const accountInfo = wx.getAccountInfoSync();
  3. // current = accountInfo.miniProgram.envVersion;
  4. const api={
  5. develop:"http://127.0.0.1:8002",
  6. // develop:"http://h5.xzaiyp.top",
  7. // develop:"https://api.catmdogd.com/prod-api",
  8. // develop:"https://api-test.catmdogd.com/test-api",
  9. trial:"https://pet-admin.hhlm1688.com/api",
  10. release:"https://api.catmdogd.com",
  11. }
  12. const currentUrl = api[current];
  13. export {currentUrl};