feat: 配置文件

master
limin 2020-12-08 16:52:48 +08:00 committed by XuPeng
parent 6eeef4fee0
commit 08417c092d
2 changed files with 28 additions and 1 deletions

View File

@ -43,7 +43,13 @@
"pages/API/timmer/timmer",
"pages/API/intereaction/intereaction",
"pages/API/navigationBar/navigationBar",
"pages/API/page-scroll/page-scroll"
"pages/API/page-scroll/page-scroll",
"pages/API/request/request",
"pages/API/web-socket/web-socket",
"pages/API/image/image",
"pages/API/load-font-face/load-font-face",
"pages/API/video/video",
"pages/API/audio/audio"
],
"window": {
"backgroundTextStyle": "light",

21
config/index.js 100644
View File

@ -0,0 +1,21 @@
/**
* 小程序配置文件
*/
// const host = '14592619.qcloud.la'
const config = {
// 测试的请求地址,用于测试会话
requestUrl: 'https://mp.finogeeks.com',
// host,
// // 云开发环境 ID
// envId: 'release-b86096',
// // envId: 'test-f0b102',
// // 云开发-存储 示例文件的文件 ID
// demoImageFileId: 'cloud://release-b86096.7265-release-b86096-1258211818/demo.jpg',
// demoVideoFileId: 'cloud://release-b86096.7265-release-b86096/demo.mp4',
}
module.exports = config