diff --git a/pom.xml b/pom.xml
index 4c72c07..c503e71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,8 +7,8 @@
com.lxyer
redbbs
1.0-SNAPSHOT
- war
+ redbbs
src
diff --git a/src/com/lxyer/bbs/base/ArangoService.java b/src/com/lxyer/bbs/base/ArangoService.java
index 572ad66..0cf4d48 100644
--- a/src/com/lxyer/bbs/base/ArangoService.java
+++ b/src/com/lxyer/bbs/base/ArangoService.java
@@ -40,7 +40,7 @@ public class ArangoService extends BaseService {
//Arango
protected static ArangoDB arangoDb;
- protected static ArangoDatabase dbDev;
+ protected static ArangoDatabase db;
protected static ArangoCollection colVisLog;
@Override
@@ -48,11 +48,11 @@ public class ArangoService extends BaseService {
System.out.println("isDev :" + isDev);
arangoDb = new ArangoDB.Builder().host(arangoHost, port).user(user).password(password).build();
- dbDev = arangoDb.db(chDev.apply(database));
- colVisLog = dbDev.collection(chDev.apply(VIS_LOG));
+ db = arangoDb.db(chDev.apply(database));
+ colVisLog = db.collection(chDev.apply(VIS_LOG));
- if (!dbDev.exists()) {
- dbDev.create();
+ if (!db.exists()) {
+ db.create();
}
if (!colVisLog.exists()) {
colVisLog.create();
@@ -63,7 +63,7 @@ public class ArangoService extends BaseService {
public List