Add 卓米会 mini program and admin server.
Initial commit of the WeChat mini program, Express backend, and admin console. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
const authUtil = require('./utils/auth')
|
||||
|
||||
App({
|
||||
onLaunch(options) {
|
||||
authUtil.captureSharer(options && options.query)
|
||||
authUtil.ensureLogin().catch(() => {})
|
||||
},
|
||||
onShow(options) {
|
||||
authUtil.captureSharer(options && options.query)
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user