Browse Source

切换到开发环境

master
kola-web 1 month ago
parent
commit
def37e5080
  1. 2
      project.config.json
  2. 15
      src/app.ts

2
project.config.json

@ -71,5 +71,5 @@ @@ -71,5 +71,5 @@
}
]
},
"appid": "wx71ac9c27c3c3e3f4"
"appid": "wxf9ce8010f1ad24aa"
}

15
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({ @@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d
// dev
// appid:wxf9ce8010f1ad24aa
// url: 'https://m.xd.hbraas.com',
// upFileUrl: 'https://m.xd.hbraas.com/',
// imageUrl: 'https://m.xd.hbraas.com/xd/',
url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro
// appid:wx71ac9c27c3c3e3f4
url: 'https://m.xd.hbsaas.com',
upFileUrl: 'https://m.xd.hbsaas.com/',
imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
// url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '',
isLogin: 0,
@ -42,7 +42,6 @@ App<IAppOption>({ @@ -42,7 +42,6 @@ App<IAppOption>({
wx.login({
success: (res) => {
console.log(res);
wx.ajax({
method: 'GET',
url: '?r=xd/user/init-login',
@ -122,7 +121,7 @@ App<IAppOption>({ @@ -122,7 +121,7 @@ App<IAppOption>({
wx.ajax({
method: 'POST',
url: '?r=xd/doctor/index/operate-action-submit',
data: data,
data,
loading: false,
showMsg: false,
});

Loading…
Cancel
Save