完成1.更新数据库2.获取导航栏

This commit is contained in:
Mike Solar
2023-08-08 15:15:19 +08:00
parent 4220083ac3
commit 0ecf1bdf6a
22 changed files with 1365 additions and 636 deletions

View File

@ -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