first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
module.exports = {
BaseUrl: 'http://www.xbiquge.la',
BookUrl: '/15/15409/index.html',
ApiStatusCode: {
success: {
status: 200,
data: null
},
errors: {
status: 404,
data: []
}
},
MysqlConfig: {
connectionLimit : 10,
host : 'localhost',
user : 'root',
password : 'lb714500',
database : 'chongzi'
},
Sql: {
index: {
insert: "INSERT chongzi_text (text_title, text_url) VALUES (?,?)",
select: "SELECT * FROM chongzi_text"
}
},
mailOption: {
send: {
// 服务器地址
host: 'smtp.163.com',
// 使用了内置传输发送邮件 查看支持列表https://nodemailer.com/smtp/well-known/
service: '163',
// SMTP 端口
port: 465,
// 使用SSL
secureConnection: true,
auth: {
user: 'lb2271608011@163.com',
// 这里密码不是qq密码是smtp授权码
pass: 'lb714500',
}
},
accept: {
// "发件人名称" <发件人邮箱>
from: '"小说更新程序" <lb2271608011@163.com>',
// 接收人邮箱
to: '2271608011@qq.com',
// 邮件标题
subject: null,
// 发送text或者html格式
// text: 'Hello world?',
html: null // html body
}
}
}