diff --git a/server/gameserver/boxdrop.cc b/server/gameserver/boxdrop.cc index c32130b2..930063fb 100644 --- a/server/gameserver/boxdrop.cc +++ b/server/gameserver/boxdrop.cc @@ -73,11 +73,10 @@ void BoxDrop::RequestAllocBoxNum() { std::string url; JsonDataMgr::Instance()->GetApiUrl(url); - int nowtime = f8::App::Instance()->GetNowTime(); auto url_params = a8::MutableXObject::CreateObject(); url_params->SetVal("c", "Battle"); url_params->SetVal("a", "requestAllocBoxNum"); - url_params->SetVal("timestamp", a8::XValue(nowtime)); + url_params->SetVal("room_uuid", room_->GetRoomUuid()); HttpProxy::Instance()->HttpGet ( [] @@ -123,6 +122,7 @@ void BoxDrop::RequestReturnBoxNum() auto url_params = a8::MutableXObject::CreateObject(); url_params->SetVal("c", "Battle"); url_params->SetVal("a", "requestReturnBoxNum"); + url_params->SetVal("room_uuid", room_->GetRoomUuid()); HttpProxy::Instance()->HttpGet ( []