add ad_channel

This commit is contained in:
aozhiwei 2019-08-01 15:25:42 +08:00
parent e584fcb352
commit c07f461f26

View File

@ -17,6 +17,7 @@ void GameLog::GameStart(Player* hum)
a8::MutableXObject* prop = a8::MutableXObject::NewObject(); a8::MutableXObject* prop = a8::MutableXObject::NewObject();
prop->SetVal("channel", channel); prop->SetVal("channel", channel);
prop->SetVal("ad_channel", "");
prop->SetVal("from_appid", hum->from_appid); prop->SetVal("from_appid", hum->from_appid);
prop->SetVal("gameid", GAME_ID); prop->SetVal("gameid", GAME_ID);
prop->SetVal("account_id", hum->account_id); prop->SetVal("account_id", hum->account_id);
@ -50,6 +51,7 @@ void GameLog::GameEnd(Player* hum)
a8::MutableXObject* prop = a8::MutableXObject::NewObject(); a8::MutableXObject* prop = a8::MutableXObject::NewObject();
prop->SetVal("channel", channel); prop->SetVal("channel", channel);
prop->SetVal("ad_channel", "");
prop->SetVal("from_appid", hum->from_appid); prop->SetVal("from_appid", hum->from_appid);
prop->SetVal("gameid", GAME_ID); prop->SetVal("gameid", GAME_ID);
prop->SetVal("account_id", hum->account_id); prop->SetVal("account_id", hum->account_id);