-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,49 @@ | ||
const CONF = { | ||
port: '5757', | ||
rootPathname: '', | ||
port: '5757', | ||
rootPathname: '', | ||
|
||
// 微信小程序 App ID | ||
appId: 'wxd797a763195dd894', | ||
// 微信小程序 App ID | ||
appId: 'wxd797a763195dd894', | ||
|
||
// 微信小程序 App Secret | ||
appSecret: '33f1446c405386cd984d544d97c448e2', | ||
// 微信小程序 App Secret | ||
appSecret: '33f1446c405386cd984d544d97c448e2', | ||
|
||
// 是否使用腾讯云代理登录小程序 | ||
useQcloudLogin: true, | ||
// 是否使用腾讯云代理登录小程序 | ||
useQcloudLogin: true, | ||
// 云API密钥 | ||
qcloudAppId: '1257457094', | ||
qcloudSecretId: 'AKIDGNI0UlEfHhtrb7FVMzOddPxGMErGcO8e', | ||
qcloudSecretKey: 'QdbLq66sTqBJF0Ys0vd8QVKuFK9i14rO', | ||
|
||
/** | ||
* MySQL 配置,用来存储 session 和用户信息 | ||
* 若使用了腾讯云微信小程序解决方案 | ||
* 开发环境下,MySQL 的初始密码为您的微信小程序 appid | ||
*/ | ||
mysql: { | ||
host: 'localhost', | ||
port: 3306, | ||
user: 'root', | ||
db: 'cAuth', | ||
pass: 'wxd797a763195dd894', | ||
char: 'utf8mb4' | ||
}, | ||
|
||
cos: { | ||
/** | ||
* MySQL 配置,用来存储 session 和用户信息 | ||
* 若使用了腾讯云微信小程序解决方案 | ||
* 开发环境下,MySQL 的初始密码为您的微信小程序 appid | ||
* 地区简称 | ||
* @查看 https://cloud.tencent.com/document/product/436/6224 | ||
*/ | ||
mysql: { | ||
host: 'localhost', | ||
port: 3306, | ||
user: 'root', | ||
db: 'cAuth', | ||
pass: 'wxd797a763195dd894', | ||
char: 'utf8mb4' | ||
}, | ||
|
||
cos: { | ||
/** | ||
* 地区简称 | ||
* @查看 https://cloud.tencent.com/document/product/436/6224 | ||
*/ | ||
region: 'ap-guangzhou', | ||
// Bucket 名称 | ||
fileBucket: 'qcloudtest', | ||
// 文件夹 | ||
uploadFolder: '' | ||
}, | ||
region: 'ap-guangzhou', | ||
// Bucket 名称 | ||
fileBucket: 'qcloudtest', | ||
// 文件夹 | ||
uploadFolder: '' | ||
}, | ||
|
||
// 微信登录态有效期 | ||
wxLoginExpires: 7200, | ||
wxMessageToken: 'abcdefgh' | ||
// 微信登录态有效期 | ||
wxLoginExpires: 7200, | ||
wxMessageToken: 'abcdefgh' | ||
} | ||
|
||
module.exports = CONF | ||
module.exports = CONF |