904118851 8 months ago
parent
commit
840bd9c24d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      service/backmgr/filter_task.lua

+ 2 - 2
service/backmgr/filter_task.lua

@@ -160,7 +160,7 @@ end
 
 --推广增量
 function M.tui_guang_zeng_liang(msg_body)
-    local isok ,key =  tools.checkData({"main_id","quantity","bid_type","id_list"},msg_body)
+    local isok ,key =  tools.checkData({"main_id","quantity","bid_type","id_list","is_rise"},msg_body)
     if not isok then
         return false,string.format("缺少字段: %s.", key)
     end
@@ -175,7 +175,7 @@ function M.tui_guang_zeng_liang(msg_body)
         sql = string.format("UPDATE  video_material SET bl_status = 1 WHERE id =%d ",id)
         mysqldbx.query(sql)
 
-        sql = string.format("INSERT INTO `task_boost_material_queue` (material_id,main_id,quantity,bid_type)  VALUES (%d,%d,%d,%d)",
+        sql = string.format("INSERT INTO `task_boost_material_queue` (material_id,main_id,quantity,bid_type,is_rise)  VALUES (%d,%d,%d,%d,%d)",
         material_id,msg_body.main_id,msg_body.quantity,msg_body.bid_type)
         mysqldbx.query(sql)