25 lines
374 B
JavaScript
25 lines
374 B
JavaScript
// #ifdef MP-WEIXIN
|
|
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')
|
|
}
|
|
}
|
|
// #endif
|