aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/config.h
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-22 14:48:25 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-22 14:48:25 +0900
commit94db06ff082d2b5e1ad99ed52c844dcec0d070ca (patch)
treeaafd38d58cde9f24055df218b970e2bf493a042c /app/src/config.h
parent31e4ddecb2e704ab81303568102f786ea727d0cf (diff)
change blank icons
Diffstat (limited to 'app/src/config.h')
-rw-r--r--app/src/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/src/config.h b/app/src/config.h
index 0f2d5ed..e3aefc1 100644
--- a/app/src/config.h
+++ b/app/src/config.h
@@ -18,8 +18,12 @@
#define CONFIG_H
// server url config
+//#define SERVER_DOMAIN_IP "192.168.20.161"
+#define SERVER_DOMAIN_IP "202.7.19.45"
+
//#define SERVER_DOMAIN "192.168.20.161/webservice"
#define SERVER_DOMAIN "202.7.19.45/webservice"
+
//#define SERVER_DOMAIN "warehouse.tmc-tokai.jp/webservice"
#define SERVER_BASE_URL "/api/v1/app"
#define SERVER_API_LIST "/collection"
@@ -38,6 +42,10 @@
QString("http://%1%2/file?filePath=%3") \
.arg(SERVER_DOMAIN, SERVER_BASE_URL, path)
+#define getIconUrl(path) \
+ QString("http://%1%2") \
+ .arg(SERVER_DOMAIN_IP, path)
+
// server app page config
#define PAGE_SIZE 20