904118851 8 ماه پیش
والد
کامیت
bbab459769
1فایلهای تغییر یافته به همراه12 افزوده شده و 0 حذف شده
  1. 12 0
      service/backmgr/filter_task.lua

+ 12 - 0
service/backmgr/filter_task.lua

@@ -395,6 +395,18 @@ function M.get_bao_liang(msg_body)
     return true,res
 end
 
+--设置爆量标题数量
+function M.set_bao_liang_title_count(msg_body)
+    local isok ,key =  tools.checkData({"title_count","id"},msg_body)
+    if not isok then
+        return false,string.format("缺少字段: %s.", key)
+    end
+    local sql = string.format("UPDATE  boost_material_history SET title_count = %d WHERE id = %d ",msg_body.title_count,msg_body.id)
+    local isok,res;
+    res = mysqldbx.query(sql)
+    return true,res
+end
+
 --搜索爆量
 --tg_main_id 主体
 --tg_platform_id 平台id