@@ -72,8 +72,9 @@ using namespace rapidjson;
//业务相关的工具类函数
#include "../tool/CSetting.h"
+#include "../tool/CSqlite3.h"
//网络相关的工具类函数
#include "../network/CZhipuziHttpClient.h"
-#endif //PCH_H
+#endif //PCH_H
@@ -1,8 +1,6 @@
#include "pch.h"
#include "CFoodHandle.h"
-#include "CSqlite3.h"
-
CFoodHandle::CFoodHandle()
{
@@ -107,4 +105,4 @@ bool CFoodHandle::DeleteOneFood(std::string food_id)
}
return true;
-}
+}
#include "CSetting.h"
CSetting::CSetting()
@@ -794,4 +792,4 @@ std::string CSetting::getUsername()
std::string CSetting::getPassword()
return m_password;
@@ -1,7 +1,5 @@
#pragma once
-#include "pch.h"
class ChufangPrinter
public:
@@ -75,4 +73,4 @@ private:
std::string m_username;
std::string m_password;
-};
+};
@@ -77,4 +77,4 @@ private:
int m_rc;
sqlite3* m_db = NULL;