Browse Source

修复

master
主管理员 1 month ago
parent
commit
b30e75f57f
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      manifest.json
  2. +3
    -3
      utils/getUrl.js

+ 1
- 1
manifest.json View File

@ -1,6 +1,6 @@
{
"name" : "uni-vuu3",
"appid" : "__UNI__197A38F",
"appid" : "__UNI__08423D1",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",


+ 3
- 3
utils/getUrl.js View File

@ -3,10 +3,10 @@ const accountInfo = wx.getAccountInfoSync();
current = accountInfo.miniProgram.envVersion;
const api = {
develop:"http://h5.xzaiyp.top",
develop:"https://pet-admin.hhlm1688.com/api",
// develop: "http://youyi-test.natapp1.cc/prod-api", // 开发
trial: "https://pet-admin.hhlm1688.com/prod-api", //测试
release: "http://h5.xzaiyp.top/prod-api", // 线上
trial: "https://pet-admin.hhlm1688.com/api", //测试
release: "https://pet-admin.hhlm1688.com/api", // 线上
}
const currentUrl = api[current];


Loading…
Cancel
Save