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