904118851 5 月之前
父節點
當前提交
7c4833a1df
共有 3 個文件被更改,包括 325 次插入8 次删除
  1. 2 5
      bin/dj_back.pid
  2. 9 3
      common/dbproxy/tg_main.lua
  3. 314 0
      log/2025_03_11.log

+ 2 - 5
bin/dj_back.pid

@@ -1,5 +1,2 @@
-<<<<<<< HEAD
-18862
-=======
-22313
->>>>>>> 733d9eb3d408e3f825168614b13f5284caf0fa68
+20800
+

+ 9 - 3
common/dbproxy/tg_main.lua

@@ -176,13 +176,15 @@ end
 -- `daily_new_limit` int DEFAULT '0' COMMENT '今天新上数量上限',
 
 function M.addMain(msg_body)
-    local isok ,key =  tools.checkData({"material_platform_id","strategy_config","delivery_mode","price","pack_strategy_status","start_chapter","advertiser_id","wx_miniapp_create_status","genre","ad_act","template_bid","zh_id","roi_goal","ql_bid","infra_status","pay_type","qm_id","ldy_template_site_id","yw_id","parent_platform_id","platform_shared_id","distributor_id","is_delete","ad_convert_type","aweme_id","tg_app_index","butler_id","mini_program_platform_id","landing_page","valid_timer_time","valid_timer_number","channelId","no_bid_budget","max_ad_quantity","tg_link_config","tg_platform_id","app_id","main_name","running_status","ad_quantity","cpa_bid","bid_type","bid_ratio","custom_budget","daily_new_limit","valid_time","group_id"},msg_body)
+    local isok ,key =  tools.checkData({"oce_product_id","oce_product_platform_id","material_platform_id","strategy_config","delivery_mode","price","pack_strategy_status","start_chapter","advertiser_id","wx_miniapp_create_status","genre","ad_act","template_bid","zh_id","roi_goal","ql_bid","infra_status","pay_type","qm_id","ldy_template_site_id","yw_id","parent_platform_id","platform_shared_id","distributor_id","is_delete","ad_convert_type","aweme_id","tg_app_index","butler_id","mini_program_platform_id","landing_page","valid_timer_time","valid_timer_number","channelId","no_bid_budget","max_ad_quantity","tg_link_config","tg_platform_id","app_id","main_name","running_status","ad_quantity","cpa_bid","bid_type","bid_ratio","custom_budget","daily_new_limit","valid_time","group_id"},msg_body)
     if not isok then
         return false,string.format("缺少字段: %s.", key)
     end
     local current_time = os.date("%Y-%m-%d %H:%M:%S")
     msg_body.create_time = current_time
-    local sql = string.format("INSERT INTO `tg_main` (material_platform_id,strategy_config,delivery_mode,price,pack_strategy_status,start_chapter,advertiser_id,wx_miniapp_create_status,genre,ad_act,template_bid,zh_id,roi_goal,ql_bid,infra_status,pay_type,qm_id,ldy_template_site_id,yw_id,parent_platform_id,platform_shared_id,distributor_id,is_delete,ad_convert_type,aweme_id,tg_app_index,butler_id,mini_program_platform_id,landing_page,valid_timer_time,valid_timer_number,channelId,no_bid_budget,max_ad_quantity,tg_link_config,tg_platform_id,app_id,main_name,running_status,ad_quantity,cpa_bid,bid_type,bid_ratio,custom_budget,daily_new_limit,valid_time,group_id)  VALUES (%d,'%s','%s',%d,%d,%d,%s,%d,%d,%d,%d,'%s',%d,%d,%d,%d,'%s','%s','%s',%d,%d,'%s',%d,'%s','%s', %d, %d, %d,'%s', %d, '%s', '%s',%d, %d, '%s', %d, '%s', '%s', %d, %d, %d,%d, '%s', %d, %d, '%s', '%s')",
+    local sql = string.format("INSERT INTO `tg_main` (oce_product_id,oce_product_platform_id,material_platform_id,strategy_config,delivery_mode,price,pack_strategy_status,start_chapter,advertiser_id,wx_miniapp_create_status,genre,ad_act,template_bid,zh_id,roi_goal,ql_bid,infra_status,pay_type,qm_id,ldy_template_site_id,yw_id,parent_platform_id,platform_shared_id,distributor_id,is_delete,ad_convert_type,aweme_id,tg_app_index,butler_id,mini_program_platform_id,landing_page,valid_timer_time,valid_timer_number,channelId,no_bid_budget,max_ad_quantity,tg_link_config,tg_platform_id,app_id,main_name,running_status,ad_quantity,cpa_bid,bid_type,bid_ratio,custom_budget,daily_new_limit,valid_time,group_id)  VALUES ('%s',%d,%d,'%s','%s',%d,%d,%d,%s,%d,%d,%d,%d,'%s',%d,%d,%d,%d,'%s','%s','%s',%d,%d,'%s',%d,'%s','%s', %d, %d, %d,'%s', %d, '%s', '%s',%d, %d, '%s', %d, '%s', '%s', %d, %d, %d,%d, '%s', %d, %d, '%s', '%s')",
+    msg_body.oce_product_id,
+    msg_body.oce_product_platform_id,
     msg_body.material_platform_id,
     msg_body.strategy_config,
     msg_body.delivery_mode,
@@ -351,7 +353,7 @@ local function combine_query_and_params(query, params)
     return combined_query
 end
 function M.modifyMain(msg_body)
-    local isok ,key =  tools.checkData({"material_platform_id","strategy_config","delivery_mode","price","pack_strategy_status","start_chapter","advertiser_id","wx_miniapp_create_status","genre","ad_act","template_bid","zh_id","roi_goal","ql_bid","infra_status","pay_type","pay_type","qm_id","ldy_template_site_id","yw_id","parent_platform_id","platform_shared_id","distributor_id","is_delete","ad_convert_type","aweme_id","tg_app_index","butler_id","mini_program_platform_id","landing_page","valid_timer_time","valid_timer_number","channelId","no_bid_budget","max_ad_quantity","tg_link_config","id","tg_platform_id","app_id","main_name","running_status","ad_quantity","cpa_bid","bid_type","bid_ratio","custom_budget","daily_new_limit","valid_time","group_id"},msg_body)
+    local isok ,key =  tools.checkData({"oce_product_id","oce_product_platform_id","material_platform_id","strategy_config","delivery_mode","price","pack_strategy_status","start_chapter","advertiser_id","wx_miniapp_create_status","genre","ad_act","template_bid","zh_id","roi_goal","ql_bid","infra_status","pay_type","pay_type","qm_id","ldy_template_site_id","yw_id","parent_platform_id","platform_shared_id","distributor_id","is_delete","ad_convert_type","aweme_id","tg_app_index","butler_id","mini_program_platform_id","landing_page","valid_timer_time","valid_timer_number","channelId","no_bid_budget","max_ad_quantity","tg_link_config","id","tg_platform_id","app_id","main_name","running_status","ad_quantity","cpa_bid","bid_type","bid_ratio","custom_budget","daily_new_limit","valid_time","group_id"},msg_body)
     if not isok then
         return false,string.format("缺少字段: %s.", key)
     end
@@ -361,6 +363,8 @@ function M.modifyMain(msg_body)
 
     local query = [[
     UPDATE `tg_main` SET
+        oce_product_id = ?,
+        oce_product_platform_id = ?,
         material_platform_id = ?,
         strategy_config = ?,
         delivery_mode = ?,
@@ -413,6 +417,8 @@ function M.modifyMain(msg_body)
 ]]
 
 local params = {
+    msg_body.oce_product_id,
+    msg_body.oce_product_platform_id,
     msg_body.material_platform_id,
     msg_body.strategy_config,
     msg_body.delivery_mode,

+ 314 - 0
log/2025_03_11.log

@@ -6458,3 +6458,317 @@ stack traceback:
 =======
 >>>>>>> 7d25d408d384c920102447e4f5f3122b0c49fb09
 >>>>>>> 733d9eb3d408e3f825168614b13f5284caf0fa68
+25/03/11 23:25:22:00000001(1741706722.99): PROJ_ROOT:: ../dj_back
+25/03/11 23:25:22:00000003(1741706722.99): LAUNCH snlua launcher
+25/03/11 23:25:22:00000004(1741706722.99): LAUNCH snlua cdummy
+25/03/11 23:25:22:00000005(1741706722.99): LAUNCH harbor 0 4
+25/03/11 23:25:22:00000006(1741706722.99): LAUNCH snlua datacenterd
+25/03/11 23:25:22:00000007(1741706722.99): LAUNCH snlua service_mgr
+25/03/11 23:25:22:00000008(1741706722.99): LAUNCH snlua service_provider
+25/03/11 23:25:22:00000009(1741706722.99): LAUNCH snlua service_cell ltls_holder
+25/03/11 23:25:23:0000000a(1741706723.00): LAUNCH snlua main
+25/03/11 23:25:23:0000000b(1741706723.01): LAUNCH snlua dbproxy book_server
+25/03/11 23:25:23:0000000c(1741706723.01): LAUNCH snlua mysqldbpool book_server
+25/03/11 23:25:23:0000000c(1741706723.01): [info] mysqldbpool 启动 book_server { dbproxy = { "mysqldb" }, mongodb_cnf = { host = "127.0.0.1", port = "27017" }, mongodb_maxinst = 8, mysqldb_checks_cnf = { db = "n8_union", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_cnf = { db = "ml_oceanengine", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_material_review_cnf = { db = "material_review", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_maxinst = 8, mysqldb_task_cnf = { db = "video_task", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, redisdb_cnf = { db = 0, host = "127.0.0.1", port = 6379 }, redisdb_maxinst = 10 } 
+25/03/11 23:25:23:0000000d(1741706723.01): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:0000000e(1741706723.02): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:0000000f(1741706723.03): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000010(1741706723.05): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000011(1741706723.06): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000012(1741706723.07): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000013(1741706723.08): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000014(1741706723.09): LAUNCH snlua mysqldb_slave
+25/03/11 23:25:23:00000015(1741706723.10): LAUNCH snlua agent_manager agent_manager
+25/03/11 23:25:23:00000016(1741706723.10): LAUNCH snlua agent agent ws
+25/03/11 23:25:23:00000017(1741706723.11): LAUNCH snlua backmgr backmgr 0
+25/03/11 23:25:23:00000018(1741706723.11): LAUNCH snlua clusterd
+25/03/11 23:25:23:00000019(1741706723.11): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001a(1741706723.11): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001b(1741706723.11): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001c(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001d(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001e(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000001f(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000020(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000021(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000022(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000023(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000024(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000025(1741706723.12): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000026(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000027(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000028(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000029(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002a(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002b(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002c(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002d(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002e(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:0000002f(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000030(1741706723.13): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000031(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000032(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000033(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000034(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000035(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000036(1741706723.14): LAUNCH snlua http_work http_work http
+25/03/11 23:25:23:00000002(1741706723.14): KILL self
+25/03/11 23:25:38:00000017(1741706738.77): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.77):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:25:38:00000017(1741706738.80): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.80):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:25:38:00000017(1741706738.84): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.84):  {"cmd":"tg_app","fun":"getAppList","data":{}}
+25/03/11 23:25:38:00000017(1741706738.88): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.88):  {"cmd":"tg_butler","fun":"search_butler","data":{"page_number":1,"page_size":500}}
+25/03/11 23:25:38:00000017(1741706738.92): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.92):  {"cmd":"aweme_auth_list","fun":"search_aweme_auth_list","data":{"page_number":1,"page_size":500}}
+25/03/11 23:25:38:00000017(1741706738.96): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.96):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:25:38:00000017(1741706738.99): ............dump...........
+25/03/11 23:25:38:00000017(1741706738.99):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:25:39:00000017(1741706739.02): ............dump...........
+25/03/11 23:25:39:00000017(1741706739.02):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:25:39:00000017(1741706739.03): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:25:44:00000017(1741706744.29): ............dump...........
+25/03/11 23:25:44:00000017(1741706744.29):  {"cmd":"pull_data_status","fun":"getRecord","data":{"record_date":"2025-03-11"}}
+25/03/11 23:25:49:00000017(1741706749.01): ............dump...........
+25/03/11 23:25:49:00000017(1741706749.01):  {"cmd":"video_material","fun":"search","data":{"tg_platform_id":"","product_id":"","product_name":"","genre":"","oce_material_id":"","material_id":"","start_time_date":"","end_time_date":"","sync_status":"","dy_id":"","status":"","artificial_status":"","machine_review_status":"","is_sexual_inducement_content":"","is_bad_value_view":"","d_z":"","collect":"","comment":"","forward":"","dy_id_1":"","signature":"","stat_cost":"","cvr":"","show_cnt":"","ctr":"","click_cnt":"","convert_cnt":"","page_size":20,"page_number":1}}
+25/03/11 23:25:49:00000017(1741706749.02): sql: SELECT * FROM video_material  WHERE  1=1  ORDER BY id DESC  LIMIT 20 OFFSET 0 
+25/03/11 23:25:52:00000017(1741706752.01): ............dump...........
+25/03/11 23:25:52:00000017(1741706752.01):  {"cmd":"no_filter_origin","fun":"search_no_filter_origin_data","data":{"date":"2025-03-11","materialId":"","video_id":"","page_number":1,"page_size":20}}
+25/03/11 23:25:55:00000017(1741706755.58): ............dump...........
+25/03/11 23:25:55:00000017(1741706755.58):  {"cmd":"origin_data","fun":"search_origin_data","data":{"start_publish_time":"","end_publish_time":"","start_create_time":1741651200000,"end_create_time":1741651200000,"materialId":"","guajian_info":"","is_wx_guajian":"","page_number":1,"page_size":20}}
+25/03/11 23:25:55:00000017(1741706755.58): sql: SELECT * FROM origin_data WHERE 1=1  AND create_day >= DATE(FROM_UNIXTIME(1741651200.0)) AND create_day <= DATE(FROM_UNIXTIME(1741651200.0)) ORDER BY id DESC LIMIT 20 OFFSET 0 
+25/03/11 23:26:00:00000017(1741706760.91): ............dump...........
+25/03/11 23:26:00:00000017(1741706760.91):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:26:00:00000017(1741706760.94): ............dump...........
+25/03/11 23:26:00:00000017(1741706760.94):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:26:00:00000017(1741706760.99): ............dump...........
+25/03/11 23:26:00:00000017(1741706760.99):  {"cmd":"tg_app","fun":"getAppList","data":{}}
+25/03/11 23:26:01:00000017(1741706761.01): ............dump...........
+25/03/11 23:26:01:00000017(1741706761.01):  {"cmd":"tg_butler","fun":"search_butler","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:01:00000017(1741706761.04): ............dump...........
+25/03/11 23:26:01:00000017(1741706761.04):  {"cmd":"aweme_auth_list","fun":"search_aweme_auth_list","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:01:00000017(1741706761.10): ............dump...........
+25/03/11 23:26:01:00000017(1741706761.10):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:01:00000017(1741706761.13): ............dump...........
+25/03/11 23:26:01:00000017(1741706761.13):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:01:00000017(1741706761.15): ............dump...........
+25/03/11 23:26:01:00000017(1741706761.15):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:26:01:00000017(1741706761.16): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:26:02:00000017(1741706762.06): ............dump...........
+25/03/11 23:26:02:00000017(1741706762.06):  {"cmd":"platform_shared","fun":"search_platform_shared","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:04:00000017(1741706764.93): ............dump...........
+25/03/11 23:26:04:00000017(1741706764.93):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:09:00000017(1741706769.70): ............dump...........
+25/03/11 23:26:09:00000017(1741706769.70):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:26:09:00000017(1741706769.73): ............dump...........
+25/03/11 23:26:09:00000017(1741706769.73):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:26:09:00000017(1741706769.76): ............dump...........
+25/03/11 23:26:09:00000017(1741706769.76):  {"cmd":"platform_shared","fun":"search_platform_shared","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:09:00000017(1741706769.78): ............dump...........
+25/03/11 23:26:09:00000017(1741706769.78):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:26:44:00000017(1741706804.78): ............dump...........
+25/03/11 23:26:44:00000017(1741706804.78):  {"cmd":"tg_main","fun":"addMain","data":{"tg_platform_id":1,"material_platform_id":1,"pay_type":1,"parent_platform_id":1,"platform_shared_id":1,"tg_app_index":1,"genre":3,"aweme_id":"zyxs666888","mini_program_platform_id":1,"ad_convert_type":"[14]","main_name":"测试","distributor_id":"1823764273348628","group_id":"","channelId":"","yw_id":"","qm_id":"","zh_id":"","max_ad_quantity":1,"ad_quantity":"1","daily_new_limit":"1","bid_type":0,"bid_ratio":"1:1","cpa_bid":100,"custom_budget":100,"no_bid_budget":100,"roi_goal":0,"ql_bid":100,"infra_status":0,"running_status":1,"delivery_mode":"MANUAL","is_delete":0,"wx_miniapp_create_status":1,"valid_time":"1","valid_timer_number":"1","valid_timer_time":"1","ldy_template_site_id":"1","landing_page":"1","template_bid":100,"ad_act":0,"tg_link_config":{"is_open":1,"chongzhi_id":616457,"f_chongzhi_id":"","huichuan_id":0,"kadian_id":"","site_id":""},"start_chapter":10,"price":150,"pack_strategy_status":0,"strategy_config":"{\"1\":1}","app_id":"tt4c2e3a93d31d662b01","advertiser_id":"1823297323442188","butler_id":1,"oce_product_id":"123","oce_product_platform_id":"456"}}
+25/03/11 23:26:44:00000017(1741706804.78): INSERT INTO `tg_main` (oce_product_id,oce_product_platform_id,material_platform_id,strategy_config,delivery_mode,price,pack_strategy_status,start_chapter,advertiser_id,wx_miniapp_create_status,genre,ad_act,template_bid,zh_id,roi_goal,ql_bid,infra_status,pay_type,qm_id,ldy_template_site_id,yw_id,parent_platform_id,platform_shared_id,distributor_id,is_delete,ad_convert_type,aweme_id,tg_app_index,butler_id,mini_program_platform_id,landing_page,valid_timer_time,valid_timer_number,channelId,no_bid_budget,max_ad_quantity,tg_link_config,tg_platform_id,app_id,main_name,running_status,ad_quantity,cpa_bid,bid_type,bid_ratio,custom_budget,daily_new_limit,valid_time,group_id)  VALUES ('123',456,1,'{"1":1}','MANUAL',150,0,10,1823297323442188,1,3,0,100,'',0,100,0,1,'','1','',1,1,'1823764273348628',0,'[14]','zyxs666888', 1, 1, 1,'1', 1, '1', '',100, 1, '{"huichuan_id":0,"is_open":1,"chongzhi_id":616457,"site_id":"","kadian_id":"","f_chongzhi_id":""}', 1, 'tt4c2e3a93d31d662b01', '测试', 1, 1, 100,0, '1:1', 100, 1, '1', '')
+25/03/11 23:26:44:00000017(1741706804.78): ............dump...........
+25/03/11 23:26:44:00000017(1741706804.78): {
+25/03/11 23:26:44:00000017(1741706804.78):  badresult = true ,
+25/03/11 23:26:44:00000017(1741706804.78):  err = Unknown column 'strategy_config' in 'field list' ,
+25/03/11 23:26:44:00000017(1741706804.78):  sqlstate = 42S22 ,
+25/03/11 23:26:44:00000017(1741706804.78):  errno = 1054 ,
+25/03/11 23:26:44:00000017(1741706804.78): }
+25/03/11 23:26:44:00000017(1741706804.78): ............dump...........
+25/03/11 23:26:44:00000017(1741706804.78):  {"cmd":"updateMainConfig"}
+25/03/11 23:26:45:00000017(1741706805.01): ............dump...........
+25/03/11 23:26:45:00000017(1741706805.01):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:26:45:00000017(1741706805.01): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:26:46:00000015(1741706806.78): 把任务放到队列
+25/03/11 23:27:28:00000017(1741706848.92): ............dump...........
+25/03/11 23:27:28:00000017(1741706848.92):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:27:28:00000017(1741706848.93): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:27:39:00000017(1741706859.44): ............dump...........
+25/03/11 23:27:39:00000017(1741706859.44):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:27:39:00000017(1741706859.45): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:27:43:00000017(1741706863.18): ............dump...........
+25/03/11 23:27:43:00000017(1741706863.18):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":"","material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:27:43:00000017(1741706863.18): sql: SELECT * FROM tg_main where 1=1  LIMIT 20 OFFSET 0 
+25/03/11 23:27:46:00000017(1741706866.26): ............dump...........
+25/03/11 23:27:46:00000017(1741706866.26):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":"","material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":""}}
+25/03/11 23:27:46:00000017(1741706866.27): sql: SELECT * FROM tg_main where 1=1  LIMIT 20 OFFSET 0 
+25/03/11 23:28:38:00000017(1741706918.53): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.53):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:28:38:00000017(1741706918.59): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.59):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:28:38:00000017(1741706918.62): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.62):  {"cmd":"tg_app","fun":"getAppList","data":{}}
+25/03/11 23:28:38:00000017(1741706918.64): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.64):  {"cmd":"tg_butler","fun":"search_butler","data":{"page_number":1,"page_size":500}}
+25/03/11 23:28:38:00000017(1741706918.67): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.67):  {"cmd":"aweme_auth_list","fun":"search_aweme_auth_list","data":{"page_number":1,"page_size":500}}
+25/03/11 23:28:38:00000017(1741706918.70): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.70):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:28:38:00000017(1741706918.74): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.74):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:28:38:00000017(1741706918.78): ............dump...........
+25/03/11 23:28:38:00000017(1741706918.78):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:28:38:00000017(1741706918.79): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:29:09:00000017(1741706949.70): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.70):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:29:09:00000017(1741706949.73): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.73):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:29:09:00000017(1741706949.75): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.75):  {"cmd":"tg_app","fun":"getAppList","data":{}}
+25/03/11 23:29:09:00000017(1741706949.78): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.78):  {"cmd":"tg_butler","fun":"search_butler","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:09:00000017(1741706949.81): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.81):  {"cmd":"aweme_auth_list","fun":"search_aweme_auth_list","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:09:00000017(1741706949.84): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.84):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:09:00000017(1741706949.86): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.86):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:09:00000017(1741706949.89): ............dump...........
+25/03/11 23:29:09:00000017(1741706949.89):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:29:09:00000017(1741706949.89): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:29:52:00000017(1741706992.55): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.55):  {"cmd":"tg_platform","fun":"getPlatformList","data":{}}
+25/03/11 23:29:52:00000017(1741706992.58): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.58):  {"cmd":"material_platform","fun":"search","data":{"name":"","page_number":1,"page_size":500}}
+25/03/11 23:29:52:00000017(1741706992.61): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.61):  {"cmd":"tg_app","fun":"getAppList","data":{}}
+25/03/11 23:29:52:00000017(1741706992.63): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.63):  {"cmd":"tg_butler","fun":"search_butler","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:52:00000017(1741706992.65): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.65):  {"cmd":"aweme_auth_list","fun":"search_aweme_auth_list","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:52:00000017(1741706992.68): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.68):  {"cmd":"tg_mini_program_platform","fun":"search_tg_mini_program_platform","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:52:00000017(1741706992.70): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.70):  {"cmd":"ad_convert_type","fun":"search_ad_convert_type","data":{"page_number":1,"page_size":500}}
+25/03/11 23:29:52:00000017(1741706992.75): ............dump...........
+25/03/11 23:29:52:00000017(1741706992.75):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:29:52:00000017(1741706992.75): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:30:20:00000017(1741707020.54): ............dump...........
+25/03/11 23:30:20:00000017(1741707020.54):  {"cmd":"platform_shared","fun":"search_platform_shared","data":{"page_number":1,"page_size":500}}
+25/03/11 23:30:46:00000017(1741707046.00): ............dump...........
+25/03/11 23:30:46:00000017(1741707046.00):  {"cmd":"tg_main","fun":"addMain","data":{"tg_platform_id":1,"material_platform_id":1,"pay_type":1,"parent_platform_id":1,"platform_shared_id":1,"tg_app_index":1,"genre":3,"aweme_id":"zyxs666888","mini_program_platform_id":1,"ad_convert_type":"[14]","main_name":"测试","distributor_id":"1823764273348628","group_id":"","channelId":"","yw_id":"","qm_id":"","zh_id":"","max_ad_quantity":1,"ad_quantity":"1","daily_new_limit":"1","bid_type":0,"bid_ratio":"1:1","cpa_bid":100,"custom_budget":100,"no_bid_budget":100,"roi_goal":0,"ql_bid":100,"infra_status":0,"running_status":1,"delivery_mode":"MANUAL","is_delete":0,"wx_miniapp_create_status":1,"valid_time":"1","valid_timer_number":"1","valid_timer_time":"1","ldy_template_site_id":"1","landing_page":"1","template_bid":100,"ad_act":0,"tg_link_config":{"is_open":1,"chongzhi_id":616457,"f_chongzhi_id":"","huichuan_id":0,"kadian_id":"","site_id":""},"start_chapter":10,"price":150,"pack_strategy_status":0,"strategy_config":"{\"1\":1}","app_id":"tt4c2e3a93d31d662b01","advertiser_id":"1823297323442188","butler_id":1,"oce_product_id":"123","oce_product_platform_id":"456"}}
+25/03/11 23:30:46:00000017(1741707046.00): INSERT INTO `tg_main` (oce_product_id,oce_product_platform_id,material_platform_id,strategy_config,delivery_mode,price,pack_strategy_status,start_chapter,advertiser_id,wx_miniapp_create_status,genre,ad_act,template_bid,zh_id,roi_goal,ql_bid,infra_status,pay_type,qm_id,ldy_template_site_id,yw_id,parent_platform_id,platform_shared_id,distributor_id,is_delete,ad_convert_type,aweme_id,tg_app_index,butler_id,mini_program_platform_id,landing_page,valid_timer_time,valid_timer_number,channelId,no_bid_budget,max_ad_quantity,tg_link_config,tg_platform_id,app_id,main_name,running_status,ad_quantity,cpa_bid,bid_type,bid_ratio,custom_budget,daily_new_limit,valid_time,group_id)  VALUES ('123',456,1,'{"1":1}','MANUAL',150,0,10,1823297323442188,1,3,0,100,'',0,100,0,1,'','1','',1,1,'1823764273348628',0,'[14]','zyxs666888', 1, 1, 1,'1', 1, '1', '',100, 1, '{"huichuan_id":0,"is_open":1,"chongzhi_id":616457,"site_id":"","kadian_id":"","f_chongzhi_id":""}', 1, 'tt4c2e3a93d31d662b01', '测试', 1, 1, 100,0, '1:1', 100, 1, '1', '')
+25/03/11 23:30:46:00000017(1741707046.01): ............dump...........
+25/03/11 23:30:46:00000017(1741707046.01): {
+25/03/11 23:30:46:00000017(1741707046.01):  badresult = true ,
+25/03/11 23:30:46:00000017(1741707046.01):  err = Unknown column 'strategy_config' in 'field list' ,
+25/03/11 23:30:46:00000017(1741707046.01):  sqlstate = 42S22 ,
+25/03/11 23:30:46:00000017(1741707046.01):  errno = 1054 ,
+25/03/11 23:30:46:00000017(1741707046.01): }
+25/03/11 23:30:46:00000017(1741707046.01): ............dump...........
+25/03/11 23:30:46:00000017(1741707046.01):  {"cmd":"updateMainConfig"}
+25/03/11 23:30:46:00000017(1741707046.24): ............dump...........
+25/03/11 23:30:46:00000017(1741707046.24):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:30:46:00000017(1741707046.24): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:30:48:00000015(1741707048.01): 把任务放到队列
+25/03/11 23:34:15:00000017(1741707255.86): ............dump...........
+25/03/11 23:34:15:00000017(1741707255.86):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:34:15:00000017(1741707255.86): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:40:29:00000019(1741707629.31): /actuator/health
+25/03/11 23:40:29:00000019(1741707629.31): 错误访问:
+25/03/11 23:40:29:00000019(1741707629.31): ............dump...........
+25/03/11 23:40:29:00000019(1741707629.31): {
+25/03/11 23:40:29:00000019(1741707629.31):  address = 10 ,
+25/03/11 23:40:29:00000019(1741707629.31):  addr = 127.0.0.1:55022 ,
+25/03/11 23:40:29:00000019(1741707629.31):  id = 71 ,
+25/03/11 23:40:29:00000019(1741707629.31): }
+25/03/11 23:42:28:00000001(1741707748.68): PROJ_ROOT:: ../dj_back
+25/03/11 23:42:28:00000003(1741707748.68): LAUNCH snlua launcher
+25/03/11 23:42:28:00000004(1741707748.68): LAUNCH snlua cdummy
+25/03/11 23:42:28:00000005(1741707748.68): LAUNCH harbor 0 4
+25/03/11 23:42:28:00000006(1741707748.68): LAUNCH snlua datacenterd
+25/03/11 23:42:28:00000007(1741707748.68): LAUNCH snlua service_mgr
+25/03/11 23:42:28:00000008(1741707748.68): LAUNCH snlua service_provider
+25/03/11 23:42:28:00000009(1741707748.69): LAUNCH snlua service_cell ltls_holder
+25/03/11 23:42:28:0000000a(1741707748.69): LAUNCH snlua main
+25/03/11 23:42:28:0000000b(1741707748.70): LAUNCH snlua dbproxy book_server
+25/03/11 23:42:28:0000000c(1741707748.70): LAUNCH snlua mysqldbpool book_server
+25/03/11 23:42:28:0000000c(1741707748.70): [info] mysqldbpool 启动 book_server { dbproxy = { "mysqldb" }, mongodb_cnf = { host = "127.0.0.1", port = "27017" }, mongodb_maxinst = 8, mysqldb_checks_cnf = { db = "n8_union", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_cnf = { db = "ml_oceanengine", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_material_review_cnf = { db = "material_review", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, mysqldb_maxinst = 8, mysqldb_task_cnf = { db = "video_task", ip = "djtext.rwlb.rds.aliyuncs.com", password = "p0LTZh&CjMl2023", port = 3306, user = "zdroot" }, redisdb_cnf = { db = 0, host = "127.0.0.1", port = 6379 }, redisdb_maxinst = 10 } 
+25/03/11 23:42:28:0000000d(1741707748.70): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:0000000e(1741707748.71): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:0000000f(1741707748.72): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000010(1741707748.74): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000011(1741707748.75): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000012(1741707748.76): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000013(1741707748.77): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000014(1741707748.78): LAUNCH snlua mysqldb_slave
+25/03/11 23:42:28:00000015(1741707748.79): LAUNCH snlua agent_manager agent_manager
+25/03/11 23:42:28:00000016(1741707748.79): LAUNCH snlua agent agent ws
+25/03/11 23:42:28:00000017(1741707748.80): LAUNCH snlua backmgr backmgr 0
+25/03/11 23:42:28:00000018(1741707748.81): LAUNCH snlua clusterd
+25/03/11 23:42:28:00000019(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001a(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001b(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001c(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001d(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001e(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000001f(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000020(1741707748.81): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000021(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000022(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000023(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000024(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000025(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000026(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000027(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000028(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000029(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002a(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002b(1741707748.82): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002c(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002d(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002e(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:0000002f(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000030(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000031(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000032(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000033(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000034(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000035(1741707748.83): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000036(1741707748.84): LAUNCH snlua http_work http_work http
+25/03/11 23:42:28:00000002(1741707748.84): KILL self
+25/03/11 23:43:20:00000019(1741707800.36): /api
+25/03/11 23:43:20:00000019(1741707800.36): 错误访问:
+25/03/11 23:43:20:00000019(1741707800.36): ............dump...........
+25/03/11 23:43:20:00000019(1741707800.36): {
+25/03/11 23:43:20:00000019(1741707800.36):  id = 11 ,
+25/03/11 23:43:20:00000019(1741707800.36):  addr = 127.0.0.1:55052 ,
+25/03/11 23:43:20:00000019(1741707800.36):  address = 10 ,
+25/03/11 23:43:20:00000019(1741707800.36): }
+25/03/11 23:43:20:0000001a(1741707800.55): /openapi/v2
+25/03/11 23:43:20:0000001a(1741707800.55): 错误访问:
+25/03/11 23:43:20:0000001a(1741707800.55): ............dump...........
+25/03/11 23:43:20:0000001a(1741707800.55): {
+25/03/11 23:43:20:0000001a(1741707800.55):  id = 12 ,
+25/03/11 23:43:20:0000001a(1741707800.55):  addr = 127.0.0.1:55054 ,
+25/03/11 23:43:20:0000001a(1741707800.55):  address = 10 ,
+25/03/11 23:43:20:0000001a(1741707800.55): }
+25/03/11 23:43:20:0000001b(1741707800.75): /stats
+25/03/11 23:43:20:0000001b(1741707800.75): 错误访问:
+25/03/11 23:43:20:0000001b(1741707800.75): ............dump...........
+25/03/11 23:43:20:0000001b(1741707800.75): {
+25/03/11 23:43:20:0000001b(1741707800.75):  id = 13 ,
+25/03/11 23:43:20:0000001b(1741707800.75):  addr = 127.0.0.1:55056 ,
+25/03/11 23:43:20:0000001b(1741707800.75):  address = 10 ,
+25/03/11 23:43:20:0000001b(1741707800.75): }
+25/03/11 23:43:34:00000017(1741707814.22): ............dump...........
+25/03/11 23:43:34:00000017(1741707814.22):  {"cmd":"tg_main","fun":"addMain","data":{"tg_platform_id":1,"material_platform_id":1,"pay_type":1,"parent_platform_id":1,"platform_shared_id":1,"tg_app_index":1,"genre":3,"aweme_id":"zyxs666888","mini_program_platform_id":1,"ad_convert_type":"[14]","main_name":"测试","distributor_id":"1823764273348628","group_id":"","channelId":"","yw_id":"","qm_id":"","zh_id":"","max_ad_quantity":1,"ad_quantity":"1","daily_new_limit":"1","bid_type":0,"bid_ratio":"1:1","cpa_bid":100,"custom_budget":100,"no_bid_budget":100,"roi_goal":0,"ql_bid":100,"infra_status":0,"running_status":1,"delivery_mode":"MANUAL","is_delete":0,"wx_miniapp_create_status":1,"valid_time":"1","valid_timer_number":"1","valid_timer_time":"1","ldy_template_site_id":"1","landing_page":"1","template_bid":100,"ad_act":0,"tg_link_config":{"is_open":1,"chongzhi_id":616457,"f_chongzhi_id":"","huichuan_id":0,"kadian_id":"","site_id":""},"start_chapter":10,"price":150,"pack_strategy_status":0,"strategy_config":"{\"1\":1}","app_id":"tt4c2e3a93d31d662b01","advertiser_id":"1823297323442188","butler_id":1,"oce_product_id":"123","oce_product_platform_id":"456"}}
+25/03/11 23:43:34:00000017(1741707814.22): INSERT INTO `tg_main` (oce_product_id,oce_product_platform_id,material_platform_id,strategy_config,delivery_mode,price,pack_strategy_status,start_chapter,advertiser_id,wx_miniapp_create_status,genre,ad_act,template_bid,zh_id,roi_goal,ql_bid,infra_status,pay_type,qm_id,ldy_template_site_id,yw_id,parent_platform_id,platform_shared_id,distributor_id,is_delete,ad_convert_type,aweme_id,tg_app_index,butler_id,mini_program_platform_id,landing_page,valid_timer_time,valid_timer_number,channelId,no_bid_budget,max_ad_quantity,tg_link_config,tg_platform_id,app_id,main_name,running_status,ad_quantity,cpa_bid,bid_type,bid_ratio,custom_budget,daily_new_limit,valid_time,group_id)  VALUES ('123',456,1,'{"1":1}','MANUAL',150,0,10,1823297323442188,1,3,0,100,'',0,100,0,1,'','1','',1,1,'1823764273348628',0,'[14]','zyxs666888', 1, 1, 1,'1', 1, '1', '',100, 1, '{"kadian_id":"","chongzhi_id":616457,"huichuan_id":0,"site_id":"","is_open":1,"f_chongzhi_id":""}', 1, 'tt4c2e3a93d31d662b01', '测试', 1, 1, 100,0, '1:1', 100, 1, '1', '')
+25/03/11 23:43:34:00000017(1741707814.22): ............dump...........
+25/03/11 23:43:34:00000017(1741707814.22): {
+25/03/11 23:43:34:00000017(1741707814.22):  affected_rows = 1 ,
+25/03/11 23:43:34:00000017(1741707814.22):  warning_count = 0 ,
+25/03/11 23:43:34:00000017(1741707814.22):  insert_id = 1 ,
+25/03/11 23:43:34:00000017(1741707814.22):  server_status = 2 ,
+25/03/11 23:43:34:00000017(1741707814.22): }
+25/03/11 23:43:34:00000017(1741707814.22): ............dump...........
+25/03/11 23:43:34:00000017(1741707814.22):  {"cmd":"updateMainConfig"}
+25/03/11 23:43:34:00000017(1741707814.46): ............dump...........
+25/03/11 23:43:34:00000017(1741707814.46):  {"cmd":"tg_main","fun":"search","data":{"main_name":"","page_number":1,"page_size":20,"tg_platform_id":1,"material_platform_id":"","butler_id":"","tg_app_index":"","delivery_mode":"","running_status":"","pay_type":"","is_open_create_link":"","wx_miniapp_create_status":"","is_delete":"","cpa_bid":"","custom_budget":"","template_bid":"","genre":"","oce_product_id":"","oce_product_platform_id":""}}
+25/03/11 23:43:34:00000017(1741707814.46): sql: SELECT * FROM tg_main where 1=1  AND tg_platform_id = 1  LIMIT 20 OFFSET 0 
+25/03/11 23:43:36:00000015(1741707816.22): 把任务放到队列