wx-starlock/exportForXp2pPlugin.js

23 lines
344 B
JavaScript
Raw Normal View History

2025-04-02 10:48:24 +08:00
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')
}
}