This commit is contained in:
aozhiwei 2023-05-27 17:23:58 +08:00
parent be058c8a41
commit ba2b5ee8d7

View File

@ -43,7 +43,10 @@ protected:
[this, _self = shared_from_this()] [this, _self = shared_from_this()]
(bool ret, a8::XObject* xobj, f8::HttpContext* context) (bool ret, a8::XObject* xobj, f8::HttpContext* context)
{ {
SetResult({ret, *xobj}); std::shared_ptr<a8::XObject> data = std::make_shared<a8::XObject>();
*data = *xobj;
SetResult({ret, data});
DoDone();
}, },
url_.c_str(), url_.c_str(),
url_params_); url_params_);