Browse Source

feat: 接口地址替换;

pull/6/head
Fox-33 2 months ago
parent
commit
952e6082be
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      utils/getUrl.js

+ 3
- 3
utils/getUrl.js View File

@ -3,9 +3,9 @@ const accountInfo = wx.getAccountInfoSync();
current = accountInfo.miniProgram.envVersion;
const api = {
develop: "http://youyi-test.natapp1.cc/prod-api", // 开发
trial: "http://youyi-test.natapp1.cc/prod-api", //测试
release: "http://youyi-test.natapp1.cc/prod-api", // 线上
develop: "http://h5.xzaiyp.top/prod-api", // 开发
trial: "http://h5.xzaiyp.top/prod-api", //测试
release: "http://h5.xzaiyp.top/prod-api", // 线上
}
console.log('--current', current)


Loading…
Cancel
Save