|
|
|
@ -24,15 +24,15 @@ App<IAppOption>({ |
|
|
|
globalData: { |
|
|
|
globalData: { |
|
|
|
// dev
|
|
|
|
// dev
|
|
|
|
// appid:wxe9f978b29ff5ab5d
|
|
|
|
// appid:wxe9f978b29ff5ab5d
|
|
|
|
// url: 'https://app.yd.hbraas.com',
|
|
|
|
url: 'https://app.yd.hbraas.com', |
|
|
|
// upFileUrl: 'https://app.yd.hbraas.com/',
|
|
|
|
upFileUrl: 'https://app.yd.hbraas.com/', |
|
|
|
// imageUrl: 'https://app.yd.hbraas.com/images/',
|
|
|
|
imageUrl: 'https://app.yd.hbraas.com/images/', |
|
|
|
|
|
|
|
|
|
|
|
// pro
|
|
|
|
// pro
|
|
|
|
// appid:wxaa9a18b72dd4b313
|
|
|
|
// appid:wxaa9a18b72dd4b313
|
|
|
|
url: 'https://app.hghealth.hbsaas.com', |
|
|
|
// url: 'https://app.hghealth.hbsaas.com',
|
|
|
|
upFileUrl: 'https://app.hghealth.hbsaas.com/', |
|
|
|
// upFileUrl: 'https://app.hghealth.hbsaas.com/',
|
|
|
|
imageUrl: 'https://app.hghealth.hbsaas.com/images/', |
|
|
|
// imageUrl: 'https://app.hghealth.hbsaas.com/images/',
|
|
|
|
|
|
|
|
|
|
|
|
Timestamp: dayjs().valueOf(), |
|
|
|
Timestamp: dayjs().valueOf(), |
|
|
|
|
|
|
|
|
|
|
|
@ -56,12 +56,13 @@ App<IAppOption>({ |
|
|
|
obeyMuteSwitch: false, |
|
|
|
obeyMuteSwitch: false, |
|
|
|
mixWithOther: false, |
|
|
|
mixWithOther: false, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.startLogin() |
|
|
|
}, |
|
|
|
}, |
|
|
|
onShow(options) { |
|
|
|
onShow(options) { |
|
|
|
if (options.query.scene) { |
|
|
|
if (options.query.scene) { |
|
|
|
this.globalData.scene = parseScene(options.query.scene) as { workerId: string } |
|
|
|
this.globalData.scene = parseScene(options.query.scene) as { workerId: string } |
|
|
|
} |
|
|
|
} |
|
|
|
this.startLogin() |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
startLogin(callback?: () => void) { |
|
|
|
startLogin(callback?: () => void) { |
|
|
|
wx.login({ |
|
|
|
wx.login({ |
|
|
|
|