904118851 5 月之前
父節點
當前提交
7deac0b154
共有 1 個文件被更改,包括 4 次插入13 次删除
  1. 4 13
      qm_mf_book_async.js

+ 4 - 13
qm_mf_book_async.js

@@ -1,19 +1,10 @@
-const config = require("../etc/config.json");
-const helper = require("../src/helper");
-const HttpClient = require("../src/HttpClient");
-const redis_help = require('../src/use_redis');
+const config = require("./etc/config.json");
+const helper = require("./src/helper");
+const redis_help = require('./src/use_redis');
 const mysql = require('mysql2/promise');
-const tools = require("../tools");
-const get_fq_book_tab_controllers = require("../src/data_manager/Controllers/get_fq_book_tab_controllers");
+const tools = require("./tools");
 const dbConfig = config.isDebug?config.debug_mysql:config.release_mysql
 const CMD = {}
-function getCodeFromUrl(url) {
-    const codeMatch = url.match(/code=([^&]+)/);
-    if (codeMatch && codeMatch[1]) {
-        return codeMatch[1];
-    }
-    return null;
-}
 async function processTask(){
     let connection  = null
     let status = 0