const appParams = { appid: 123, appOauthId: 'xxx', appKey: 'xxx', appSecretKey: 'xxx', appPackage: 'ios.test.com' } module.exports = { wx, getXp2pAppParams() { return appParams }, getXp2pConfig() { return { enableCrypto: true } }, getPlayerPlugin() { return requirePlugin('wechat-p2p-player') } }