完成1.更新数据库2.获取导航栏
This commit is contained in:
@ -12,15 +12,19 @@
|
||||
#include <QJsonObject>
|
||||
#include <Windows.h>
|
||||
#include <QtNetwork/QtNetwork>
|
||||
|
||||
#include "buttonstruct.h"
|
||||
#include "sqlitehelper.h"
|
||||
|
||||
typedef struct {
|
||||
QString img;
|
||||
QString img_cover;
|
||||
QString title;
|
||||
QString orig_name;
|
||||
QString categroy_id;
|
||||
QString op;
|
||||
QString func;
|
||||
QString url;
|
||||
} Menu;
|
||||
} Button;
|
||||
typedef struct {
|
||||
bool succeed;
|
||||
struct {
|
||||
@ -32,7 +36,7 @@ typedef struct {
|
||||
QString title_color;
|
||||
QString title_cover_color;
|
||||
}basic;
|
||||
QList<Menu> menus;
|
||||
QList<Button> buttons;
|
||||
}ConfigResponse;
|
||||
|
||||
class RequestBodyBase:public QObject{
|
||||
@ -111,6 +115,8 @@ inline QString getMachineGUID() {
|
||||
}
|
||||
|
||||
class SoftwareRequest :public RequestBodyBase {
|
||||
|
||||
public:
|
||||
SoftwareRequest():RequestBodyBase(){}
|
||||
bool sendRequest(QHash<QString, Record>*records);
|
||||
};
|
||||
#endif //OFFICEASSISTANT_NETIO_H
|
||||
|
Reference in New Issue
Block a user