| app.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| img/888888.png | 补丁 | 查看 | 原始文档 | blame | 历史 |
app.js
@@ -319,10 +319,15 @@ // 访问日志记录 const logHttps=(mode)=>{ try{ console.log(mode) console.log(JSON.stringify(mode)) let sqlStr=`INSERT INTO system_log (id, code, url, parameter) VALUES (0, '', '${mode.action}', '${JSON.stringify(mode)}')` pool.promise().query(sqlStr) }catch (err) { console.error('Error creating directory:', err); throw err; } } // 插入数据 const installData=async (mode)=>{ img/888888.png