This commit is contained in:
aozhiwei 2023-05-27 17:04:27 +08:00
parent fb441acc87
commit 095e35f7e0
6 changed files with 9 additions and 9 deletions

View File

@ -1,3 +0,0 @@
#pragma once
#include <a8/singleton.h>

View File

@ -1,3 +0,0 @@
#pragma once
#include <boost/coroutine2/all.hpp>

View File

@ -38,6 +38,15 @@ protected:
virtual void DoAwait() override
{
HttpProxy::Instance()->HttpGet
(
[this, _self = shared_from_this()]
(bool, a8::XObject*, f8::HttpContext*)
{
},
url_.c_str(),
url_params_);
}
private:

View File

@ -1,12 +1,9 @@
#include "precompile.h"
#include <boost/coroutine2/all.hpp>
#include <f8/udplog.h>
#include "playermgr.h"
#include "player.h"
#include "coroutine.h"
#include <f8/utils.h>
#include <f8/msgqueue.h>