Commit 5965b568 authored by 测试账号's avatar 测试账号

增加微信广告回调

parent 4697638b
...@@ -2189,8 +2189,9 @@ var sdk = { ...@@ -2189,8 +2189,9 @@ var sdk = {
if(clickId) if(clickId)
{ {
var data = {}; var data = {};
data.url = url; data.url = url;
data.user_action_set_id = "1108125210"; data.user_action_set_id = sdk.getConfig4().userActionSetId;
data.action_type = at; data.action_type = at;
data.action_time = new Date().getTime()/1000; data.action_time = new Date().getTime()/1000;
...@@ -2198,6 +2199,7 @@ var sdk = { ...@@ -2198,6 +2199,7 @@ var sdk = {
if(this.getUser()) if(this.getUser())
{ {
actionParam.uid = this.getUser().uid; actionParam.uid = this.getUser().uid;
actionParam.game_code = sdk_conf.game;
} }
data.action_param =actionParam; data.action_param =actionParam;
......
...@@ -34,7 +34,6 @@ var sdk_conf = { ...@@ -34,7 +34,6 @@ var sdk_conf = {
ip4: "https://res.test.llewan.com", ip4: "https://res.test.llewan.com",
} }
}, },
default_upload_row_count:20, default_upload_row_count:20,
default_upload_interval:120, default_upload_interval:120,
//游戏在线统计时长开启与关闭。true为开启,false为关闭 //游戏在线统计时长开启与关闭。true为开启,false为关闭
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment