Skip to content

Commit a45d60b

Browse files
unknownunknown
authored andcommitted
#5-08-2024
1 parent f930edb commit a45d60b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

appsTeacher/groups/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ module.exports = function init(site) {
320320
let result = {};
321321
if (_data.type == "validDay") {
322322
let date = new Date(_data.date);
323+
console.log(date,_data.date);
324+
323325
let index = doc.dayList.findIndex(
324326
(itm) => new Date(itm.date).getDate() === date.getDate() && new Date(itm.date).getMonth() === date.getMonth() && new Date(itm.date).getFullYear() === date.getFullYear() && !itm.isBook
325327
);

teacher.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,13 @@ site.get("/x-update", (req, res) => {
158158
res.end(data || 'error');
159159
console.log(data);
160160
site.cmd("pm2 restart 17", (data) => {
161-
console.log(data);
161+
162162
});
163163
});
164164
});
165165

166166
site.get("/x-restart", (req, res) => {
167167
site.cmd("pm2 restart 17", (data) => {
168-
console.log(data);
169168
});
170169
});
171170

0 commit comments

Comments
 (0)