//app.js //导入leancloud库,与后台交互 const AV = require('./utils/av-live-query-weapp-min'); //初始化 AV.init({ appId: 'fQCxN98zS5thYY3AceKdI8Pj-MdYXbMMI', appKey: 'Tdi1DcLlVYrTabFiBaA00pjj', }); App({ config: { host: 'wsw1999.xyz' }, onLaunch () { console.log('App.onLaunch()'); } });