2026-09-29 19:01:36 +08:00
|
|
|
const authUtil = require('./utils/auth')
|
|
|
|
|
|
|
|
|
|
App({
|
|
|
|
|
onLaunch(options) {
|
|
|
|
|
authUtil.captureSharer(options && options.query)
|
|
|
|
|
authUtil.ensureLogin().catch(() => {})
|
|
|
|
|
},
|
|
|
|
|
onShow(options) {
|
|
|
|
|
authUtil.captureSharer(options && options.query)
|
|
|
|
|
}
|
|
|
|
|
})
|