|
|
@ -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]; |
|
|
|