wx-starlock/exportForXp2pPlugin.js
2025-04-02 10:48:24 +08:00

23 lines
344 B
JavaScript

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')
}
}