|
|
@@ -21,6 +21,7 @@ const api = 'http://36.212.150.246:8090'
|
|
|
|
|
|
// 定时任务:每天凌晨2点触发
|
|
|
schedule.scheduleJob("0 2 * * *", async () => {
|
|
|
+ return;
|
|
|
try {
|
|
|
let p = []
|
|
|
p.unshift(_mysqlLabor[0], _mysqlLabor[1], "getSzdjgData");
|
|
|
@@ -70,6 +71,8 @@ schedule.scheduleJob("0 2 * * *", async () => {
|
|
|
* body参数请参考接口文档说明
|
|
|
*/
|
|
|
router.post("/sync/class", async (req, res) => {
|
|
|
+ res.status(500).json({ code: 500, msg });
|
|
|
+ return;
|
|
|
try {
|
|
|
// 校验必填参数
|
|
|
const {
|