#include "DoricNetworkPlugin.h" #include "utils/DoricNetworkService.h" #include #include #include void DoricNetworkPlugin::request(QString jsValueString, QString callbackId) { QJsonDocument document = QJsonDocument::fromJson(jsValueString.toUtf8()); QJsonValue jsValue = document.object(); DoricNetworkService::getInstance()->request(jsValue, qApp, [](int code, QByteArray data) { qDebug() << code; qDebug() << data; qDebug() << ""; }); }