This commit is contained in:
HuanLinOTO 2023-08-27 22:43:59 +08:00
parent 5af6e5375c
commit ab9d53dc1b
4 changed files with 7 additions and 7 deletions

@ -1,4 +1,4 @@
# GenshinCloudPlayHelpper # GenshinCloudGameHelpper
每天帮你获取 15 分钟云原神时间~ 每天帮你获取 15 分钟云原神时间~

@ -1,5 +1,5 @@
{ {
"name": "genshincloudplayhelpper", "name": "genshincloudgamehelpper",
"version": "1.0.0", "version": "1.0.0",
"description": "每天帮你获取15分钟云原神时间~", "description": "每天帮你获取15分钟云原神时间~",
"main": "index.js", "main": "index.js",
@ -8,15 +8,15 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/HuanLinMaster/GenshinCloudPlayHelpper.git" "url": "git+https://github.com/HuanLinMaster/GenshinCloudGameHelpper.git"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"bugs": { "bugs": {
"url": "https://github.com/HuanLinMaster/GenshinCloudPlayHelpper/issues" "url": "https://github.com/HuanLinMaster/GenshinCloudGameHelpper/issues"
}, },
"homepage": "https://github.com/HuanLinMaster/GenshinCloudPlayHelpper#readme", "homepage": "https://github.com/HuanLinMaster/GenshinCloudGameHelpper#readme",
"dependencies": { "dependencies": {
"axios": "^1.5.0", "axios": "^1.5.0",
"nodemailer": "^6.7.6", "nodemailer": "^6.7.6",

@ -122,7 +122,7 @@ exports.makeHeader = function(data,appversion){
exports.SendLog = function(transporter,mailfrom,mailto,successNum,totalNum,content) { exports.SendLog = function(transporter,mailfrom,mailto,successNum,totalNum,content) {
transporter.sendMail({ transporter.sendMail({
from: mailfrom+'" Genshin CloudPlay Helper"', //邮件来源 from: mailfrom+'" Genshin CloudGame Helper"', //邮件来源
to: mailto, //邮件发送到哪里,多个邮箱使用逗号隔开 to: mailto, //邮件发送到哪里,多个邮箱使用逗号隔开
subject: `今日已签到${successNum}/${totalNum}名用户`, // 邮件主题 subject: `今日已签到${successNum}/${totalNum}名用户`, // 邮件主题
text: '☺️😍😎', // 存文本类型的邮件正文 text: '☺️😍😎', // 存文本类型的邮件正文

@ -1,5 +1,5 @@
const reggol = require("reggol") const reggol = require("reggol")
const baseLogger = new reggol("GenshinCloudPlayHelper") const baseLogger = new reggol("GenshinCloudGameHelper")
let logContent = `` let logContent = ``
exports.addLogContent = function(content) { exports.addLogContent = function(content) {
logContent += content logContent += content