904118851 3 miesięcy temu
rodzic
commit
bee9efb345

BIN
dump.rdb


+ 0 - 6
logs/combined.log

@@ -1,6 +0,0 @@
-2025-05-02T19:02:42: 
-2025-05-02T19:02:42: > heiyan@1.0.0 start
-2025-05-02T19:02:42: > node tg_factory_main.js
-2025-05-02T19:02:42: 
-2025-05-02T19:02:44: Connected to Redis
-2025-05-02T19:02:44: publish_time: 2025-05-04

+ 0 - 6
logs/out.log

@@ -1,6 +0,0 @@
-2025-05-02T19:02:42: 
-2025-05-02T19:02:42: > heiyan@1.0.0 start
-2025-05-02T19:02:42: > node tg_factory_main.js
-2025-05-02T19:02:42: 
-2025-05-02T19:02:44: Connected to Redis
-2025-05-02T19:02:44: publish_time: 2025-05-04

BIN
src/api/hy/qr.gif


BIN
src/api/hy/qr_resized.gif


+ 3 - 0
task_script/sync_publish_time_fq.js

@@ -31,6 +31,9 @@ async function processTask(){
             }else{
                 if(data!=null){
                     let publish_time = data.on_shelf_time
+                    if(data.on_shelf_time==""){
+                        publish_time = data.latest_update_time
+                    }
                     await connection.execute(
                         `UPDATE video_product SET publish_time = "${publish_time}"  WHERE id = ${video_product_info.id} `
                     );

+ 4 - 4
tg_factory_main.js

@@ -32,8 +32,8 @@ let isInit = false
 if(config.isDebug){
     redis_help.connect( async (results)=>{
         if(results){
-            let publish_time = helper.getDate7DaysBefore("2025-04-27",null,'YYYY-MM-DD')
-            console.log("publish_time:",publish_time)
+            // let publish_time = helper.getDate7DaysBefore("2025-04-27",null,'YYYY-MM-DD')
+            // console.log("publish_time:",publish_time)
             // let client = tools.getOneNewClinet()
             // let timestamp = helper.getCurrentUnixTimestamp()
             // let response =  await client.post("https://open.zhihu.com/openapi/km-agent/v1/new-ad-link",JSON.stringify(
@@ -54,8 +54,8 @@ if(config.isDebug){
             //       }
             // ))
             // console.log("response:",response)
-            // let data =  await require('./src/api/fq/fq_search_book').search_new_id('7430697489331653682')
-            // console.log("data:",data)
+            let data =  await require('./src/api/fq/fq_search_book').search_new_id('7385111704889216051')
+            console.log("data:",data)
             // let data = await require('./src/api/fq/fq_search_book').search_mf_new_id('7375572126402612286')
             // console.log("data:",data)
             // require('./src/api/dz/dz_login').login()