904118851 преди 3 седмици
родител
ревизия
97ad60c5f9
променени са 4 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      2_PRODUCT_FACTORY/zy_mf_batch_factory.js
  2. BIN
      dump.rdb
  3. BIN
      src/api/hy/qr.gif
  4. BIN
      src/api/hy/qr_resized.gif

+ 3 - 3
2_PRODUCT_FACTORY/zy_mf_batch_factory.js

@@ -46,12 +46,12 @@ async function processCreateTask(){
         if(task_queue.length>0){
             let task_queue_item = task_queue.pop()
             result = task_queue_item.result
-            let other_book = await other_book_controllers.getData({product_id:task_queue_item.result.data.book_id})
+            let other_book = await other_book_controllers.getData({product_id:result.data.book_id})
             if(other_book.success){
                 await filter_data_controllers.updateFilterData({id:result.data.id},{status:3,book_id:other_book.data.product_id,book_name:other_book.data.product_name,material_sync_status:2})
                 throw "处理了一条长篇或者筛选不要的书"
             }
-            let product = await video_product_controllers.getProductData({ book_id: task_queue_item.result.data.book_id });
+            let product = await video_product_controllers.getProductData({ book_id: result.data.book_id });
             let FilterConfig = await redis_help.getKeyValue("FilterConfig")
             FilterConfig = JSON.parse(FilterConfig)
             if(!product.success){
@@ -312,7 +312,7 @@ CMD.insert_product = async function(data){
         default_price:data.default_price,
         fee_unit:data.fee_unit,
         product_parent_id:product_parent_id,
-        match_book:match_book,
+        match_book:match_book
     })
 }
 

BIN
dump.rdb


BIN
src/api/hy/qr.gif


BIN
src/api/hy/qr_resized.gif