904118851 2 ヶ月 前
コミット
1d2373438f

BIN
dump.rdb


+ 2 - 0
src/api/dz/dz_search_book.js

@@ -44,12 +44,14 @@ async function search_id(book_id) {
         if(data.total<=0){
             throw data  
         }else{
+            // console.log("dz_book_info:",data['rows'][0])
             info.words =  data['rows'][0].totalWordSize
             info.book_name =  data['rows'][0].bookName
             info.book_id =  data['rows'][0].bookId
             info.totalChapterNum = data['rows'][0].totalChapterNum
             info.genre = 3;
             info.publish_time = data['rows'][0].ctimePack
+            info.author = data['rows'][0].author
         }
         return info;
     } catch (error) {

+ 1 - 0
src/api/qm/qm_search_book.js

@@ -29,6 +29,7 @@ CMD.search_id = async function (bookId) {
         info.book_name =  book_info.title
         info.book_id =  book_info.id
         info.publish_time = book_info.addTime
+        info.author = book_info.author
         if(book_info.type="短篇"){
             info.genre = 3;
         }else{

+ 1 - 0
src/api/qm_mf/qm_mf_search_book.js

@@ -26,6 +26,7 @@ CMD.search_id = async function (bookId) {
         info.book_name =  book_info.title
         info.book_id =  book_info.id
         info.publish_time = book_info.addTime
+        info.author = book_info.author
         if(book_info.type="短篇"){
             info.genre = 3;
         }else{

+ 2 - 0
src/api/zh/zh_search_book.js

@@ -40,6 +40,8 @@ CMD.search_id = async function(bookId) {
         info.book_name =  book_info.work_title
         info.book_id =  book_info.work_id
         info.publish_time = book_info.online_time
+        let author = book_info.author.length<=0?"NONE":book_info.author[0].name
+        info.author = author
         if(book_info.word_count<100000){
             info.genre = 3;
         }else{

+ 2 - 0
src/api/zy/zy_search_book.js

@@ -68,6 +68,7 @@ CMD.new_search_id = async function(bookId) {
         let book_info = list[0]
         let info = {}
 
+        // console.log("book_info:",book_info)
         info.words =  book_info.word_count
         info.book_name =  book_info.book_name
         info.book_id =  book_info.book_id
@@ -76,6 +77,7 @@ CMD.new_search_id = async function(bookId) {
         info.default_pay_section = book_info.default_pay_section //默认付费章节
         info.default_price = book_info.default_price // 加个
         info.fee_unit = book_info.fee_unit //10 = 整本, 20 = 千字
+        info.author = book_info.author
         if(book_info.word_count<100000){
             info.genre = 3;
         }else{

+ 70 - 0
task_script.json

@@ -181,6 +181,76 @@
             "merge_logs": true,
             "exec_mode": "fork",
             "autorestart": true
+        },
+        {
+            "name": "sync_author_hy",
+            "script": "./task_script/sync_author_hy.js",
+            "node_args": "--max-old-space-size=8192 --expose-gc",
+            "max_memory_restart": "4G",
+            "args": ["--type=data"],
+            "cwd": "/home/tg_factory",
+            "log_date_format": "YYYY-MM-DD HH:mm:ss",
+            "error_file": "./logs/task_script/sync_author_hy_error.log",
+            "out_file": "./logs/task_script/sync_author_hy_out.log",
+            "merge_logs": true,
+            "exec_mode": "fork",
+            "autorestart": true
+        },
+        {
+            "name": "sync_author_qm",
+            "script": "./task_script/sync_author_qm.js",
+            "node_args": "--max-old-space-size=8192 --expose-gc",
+            "max_memory_restart": "4G",
+            "args": ["--type=data"],
+            "cwd": "/home/tg_factory",
+            "log_date_format": "YYYY-MM-DD HH:mm:ss",
+            "error_file": "./logs/task_script/sync_author_qm_error.log",
+            "out_file": "./logs/task_script/sync_author_qm_out.log",
+            "merge_logs": true,
+            "exec_mode": "fork",
+            "autorestart": true
+        },
+        {
+            "name": "sync_author_qm_mf",
+            "script": "./task_script/sync_author_qm_mf.js",
+            "node_args": "--max-old-space-size=8192 --expose-gc",
+            "max_memory_restart": "4G",
+            "args": ["--type=data"],
+            "cwd": "/home/tg_factory",
+            "log_date_format": "YYYY-MM-DD HH:mm:ss",
+            "error_file": "./logs/task_script/sync_author_qm_mf_error.log",
+            "out_file": "./logs/task_script/sync_author_qm_mf_out.log",
+            "merge_logs": true,
+            "exec_mode": "fork",
+            "autorestart": true
+        },
+        {
+            "name": "sync_author_dz",
+            "script": "./task_script/sync_author_dz.js",
+            "node_args": "--max-old-space-size=8192 --expose-gc",
+            "max_memory_restart": "4G",
+            "args": ["--type=data"],
+            "cwd": "/home/tg_factory",
+            "log_date_format": "YYYY-MM-DD HH:mm:ss",
+            "error_file": "./logs/task_script/sync_author_dz_error.log",
+            "out_file": "./logs/task_script/sync_author_dz_out.log",
+            "merge_logs": true,
+            "exec_mode": "fork",
+            "autorestart": true
+        },
+        {
+            "name": "sync_author_zy",
+            "script": "./task_script/sync_author_zy.js",
+            "node_args": "--max-old-space-size=8192 --expose-gc",
+            "max_memory_restart": "4G",
+            "args": ["--type=data"],
+            "cwd": "/home/tg_factory",
+            "log_date_format": "YYYY-MM-DD HH:mm:ss",
+            "error_file": "./logs/task_script/sync_author_zy_error.log",
+            "out_file": "./logs/task_script/sync_author_zy_out.log",
+            "merge_logs": true,
+            "exec_mode": "fork",
+            "autorestart": true
         }
     ]
 }

+ 68 - 0
task_script/sync_author_dz.js

@@ -0,0 +1,68 @@
+//同步点众的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_dianzhong} AND  author IS NULL  LIMIT 5`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data =  await require('../src/api/dz/dz_search_book').search_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 11 - 15
task_script/sync_author_fq.js

@@ -14,7 +14,6 @@ async function processTask(){
             ...taskdbConfig,
             multipleStatements: true
         });
-        //先获取100本没有发布时间的番茄免费书籍
         let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_fanqie} AND  author IS NULL  LIMIT 5`
         console.log("sql:",sql)
         const [rows] = await connection.execute(
@@ -27,20 +26,17 @@ async function processTask(){
 
         for (let index = 0; index < rows.length; index++) {
             let video_product_info = rows[index]
-            let book_info =  await  video_product_controllers.getProductData({book_id:video_product_info.product_id})
-            if(book_info.success){
-                let data =  await require('../src/api/fq/fq_search_book').search_new_id(video_product_info.product_id)
-                if(data!=null&&data!=""){
-                    let author = data.author
-                    await connection.execute(
-                        ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
-                    );
-                }else{
-                    await connection.execute(
-                        ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
-                    );
-                    console.error("查无此书:",video_product_info)
-                }
+            let data =  await require('../src/api/fq/fq_search_book').search_new_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
             }
         }   
 

+ 11 - 14
task_script/sync_author_fq_mf.js

@@ -27,20 +27,17 @@ async function processTask(){
 
         for (let index = 0; index < rows.length; index++) {
             let video_product_info = rows[index]
-            let book_info =  await  video_product_controllers.getProductData({book_id:video_product_info.product_id})
-            if(book_info.success){
-                let data =  await require('../src/api/fq/fq_search_book').search_mf_new_id(video_product_info.product_id)
-                if(data!=null&&data!=""){
-                    let author = data.author
-                    await connection.execute(
-                        ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
-                    );
-                }else{
-                    await connection.execute(
-                        ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
-                    );
-                    console.error("查无此书:",video_product_info)
-                }
+            let data =  await require('../src/api/fq/fq_search_book').search_mf_new_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
             }
         }   
 

+ 85 - 0
task_script/sync_author_hy.js

@@ -0,0 +1,85 @@
+//同步黑岩的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const hy_search_book = require('../src/api/hy/hy_search_book'); 
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_heiyan} or book_platform = ${config.platform_heiyanmf} AND  author IS NULL  LIMIT 5`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data = await hy_search_book.search_id(video_product_info.product_id)
+            if(data==undefined||data==null){
+                data = null
+            }
+
+            if(data!=null){
+                if(data.rows==null||data.rows==undefined){
+                    data = null
+                }
+            }
+    
+
+            if(data!=null){
+                if(data.rows.length<=0){
+                    data = null
+                }
+            }
+            if(data!=null&&data!=""){
+                let author = data.rows[0].userName
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 69 - 0
task_script/sync_author_qm.js

@@ -0,0 +1,69 @@
+//同步七猫的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        //先获取100本没有发布时间的番茄免费书籍
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_qimao} AND  author IS NULL  LIMIT 500`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data = await require('../src/api/qm/qm_search_book').search_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 69 - 0
task_script/sync_author_qm_mf.js

@@ -0,0 +1,69 @@
+//同步七猫免费的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        //先获取100本没有发布时间的番茄免费书籍
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_qmmf} AND  author IS NULL  LIMIT 500`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data = await require('../src/api/qm_mf/qm_mf_search_book').search_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 68 - 0
task_script/sync_author_yw.js

@@ -0,0 +1,68 @@
+// //同步阅文的作者
+// const config = require("../etc/config.json");
+// const mysql = require('mysql2/promise');
+// const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+// const redis_help = require('../src/use_redis');
+// const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+// const helper = require("../src/helper");
+// const CMD = {}
+// async function processTask(){
+//     let right_status = true
+//     let connection  = null
+//     try{
+//         connection = await mysql.createConnection({
+//             ...taskdbConfig,
+//             multipleStatements: true
+//         });
+//         let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_dianzhong} AND  author IS NULL  LIMIT 5`
+//         console.log("sql:",sql)
+//         const [rows] = await connection.execute(
+//             sql
+//         );
+
+//         if(rows.length<=0){
+//             throw 0
+//         }
+
+//         for (let index = 0; index < rows.length; index++) {
+//             let video_product_info = rows[index]
+//             let data =   await require('../src/api/yw/yw_search_book').search_id(video_product_info.product_id)
+//             if(data!=null&&data!=""){
+//                 let author = data.author
+//                 await connection.execute(
+//                     ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+//                 );
+//             }else{
+//                 await connection.execute(
+//                     ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+//                 );
+//                 console.error("查无此书:",video_product_info)
+//             }
+//         }   
+
+
+//     }catch(e){
+//         if(e==0){
+//             right_status = false
+//         }
+//         console.error("processTask error:",e)
+//     } finally{
+//         if(connection!=null){
+//             connection.end()
+//         }
+//         global.setTimeout(processTask, 1000);
+//     }
+
+// }
+
+
+// CMD.init = async function(){
+//     redis_help.connect((results)=>{
+//         if(results){
+//             processTask();
+//         }
+//     })
+
+// }
+
+// CMD.init()

+ 68 - 0
task_script/sync_author_zh.js

@@ -0,0 +1,68 @@
+//同步知乎的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_zhihu} AND  author IS NULL  LIMIT 5`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data =  await require('../src/api/zh/zh_search_book').search_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 68 - 0
task_script/sync_author_zy.js

@@ -0,0 +1,68 @@
+//同步掌阅的作者
+const config = require("../etc/config.json");
+const mysql = require('mysql2/promise');
+const taskdbConfig = config.isDebug?config.debug_task_mysql:config.release_task_mysql
+const redis_help = require('../src/use_redis');
+const video_product_controllers = require('../src/data_manager/Controllers/video_product_controllers');
+const helper = require("../src/helper");
+const CMD = {}
+async function processTask(){
+    let right_status = true
+    let connection  = null
+    try{
+        connection = await mysql.createConnection({
+            ...taskdbConfig,
+            multipleStatements: true
+        });
+        let sql = `SELECT * FROM video_product WHERE book_platform = ${config.platform_zy} AND  author IS NULL  LIMIT 5`
+        console.log("sql:",sql)
+        const [rows] = await connection.execute(
+            sql
+        );
+
+        if(rows.length<=0){
+            throw 0
+        }
+
+        for (let index = 0; index < rows.length; index++) {
+            let video_product_info = rows[index]
+            let data =  await require('../src/api/zy/zy_search_book').new_search_id(video_product_info.product_id)
+            if(data!=null&&data!=""){
+                let author = data.author
+                await connection.execute(
+                    ` UPDATE video_product SET  author = '${author}' WHERE id = ${video_product_info.id}  `
+                );
+            }else{
+                await connection.execute(
+                    ` UPDATE video_product SET  author = 'NONE' WHERE id = ${video_product_info.id}  `
+                );
+                console.error("查无此书:",video_product_info)
+            }
+        }   
+
+
+    }catch(e){
+        if(e==0){
+            right_status = false
+        }
+        console.error("processTask error:",e)
+    } finally{
+        if(connection!=null){
+            connection.end()
+        }
+        global.setTimeout(processTask, 1000);
+    }
+
+}
+
+
+CMD.init = async function(){
+    redis_help.connect((results)=>{
+        if(results){
+            processTask();
+        }
+    })
+
+}
+
+CMD.init()

+ 1 - 1
task_script/sync_publish_time_yw.js

@@ -25,7 +25,7 @@ async function processTask(){
 
         for (let index = 0; index < rows.length; index++) {
             let video_product_info = rows[index]
-            let data = await  await require('../src/api/yw/get_book_tg_chapter_id').get_book_publish_time(video_product_info.product_id)
+            let data =   await require('../src/api/yw/get_book_tg_chapter_id').get_book_publish_time(video_product_info.product_id)
             if(data!=null){
                 let publish_time = data.CheckTime
                 await connection.execute(

+ 5 - 5
tg_factory_main.js

@@ -38,8 +38,8 @@ if(config.isDebug){
             // console.log("id:",id)
             // let data = await require('./src/api/qm/qm_search_book').search_id_new("510151")
             // console.log("data:",data)
-            // let data = await require('./src/api/zy/zy_search_book').new_search_id("13342871")
-            // console.log("data:",data)
+            let data = await require('./src/api/zy/zy_search_book').new_search_id("13342871")
+            console.log("data:",data)
             // let publish_time = helper.getDate7DaysBefore("2025-04-27",null,'YYYY-MM-DD')
             // console.log("publish_time:",publish_time)
 
@@ -110,8 +110,8 @@ if(config.isDebug){
             // let zh_book_data = await require('./src/api/zh/zh_search_book').search_id("1864355654438887424")
             // console.log("zh_book_data:",zh_book_data)
 
-            // await redis_help.setKeyValue("OPENSESSID","08c23f0d8b4352cd83c15534bad005f7")
-            // let yw_book_data = await require('./src/api/yw/yw_search_book').search_id("20879682908817006")
+            // await redis_help.setKeyValue("OPENSESSID","5d859c17960bb72b9772bdad785b2a09")
+            // let yw_book_data = await require('./src/api/yw/yw_search_book').search_id("30677225607778506")
             // console.log("yw_book_data:",yw_book_data)
 
             // let yw_book_data =  await require('./src/api/yw/get_book_tg_chapter_id').get_book_publish_time("20879682908817006")
@@ -138,7 +138,7 @@ if(config.isDebug){
             // }
             // isInit = true
             // let yw_login = await require('./src/api/yw/yw_login').get_captcha()
-            // let zh_book_data = await require('./src/api/zh/zh_search_book').search_id("1864355654438887424")
+            // let zh_book_data = await require('./src/api/zh/zh_search_book').search_id("1908097089369535273")
             // console.log("zh_book_data:",zh_book_data)
             // await redis_help.setKeyValue("OPENSESSID","9077ffcc5ca974e2c0e78502a24c9053")
             // await require('./src/api/yw/get_book_tg_chapter_id').get_book_tg_chapter_id("20879682908817006")