File tree Expand file tree Collapse file tree 4 files changed +932
-0
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo Expand file tree Collapse file tree 4 files changed +932
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,9 @@ public String getDBUri() {
245245 // if (isTimescaleDB()) { // PG JDBC 必须在 URI 传 catalog
246246 // return "jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified"; //TODO 改成你自己的
247247 // }
248+ // if (isQuestDB()) { // PG JDBC 必须在 URI 传 catalog
249+ // return "jdbc:postgresql://localhost:8812/qdb"; //TODO 改成你自己的
250+ // }
248251 if (isInfluxDB ()) {
249252 return "http://203.189.6.3:8086" ; //TODO 改成你自己的
250253 }
@@ -321,6 +324,9 @@ public String getDBAccount() {
321324 // if (isTimescaleDB()) {
322325 // return "postgres"; //TODO 改成你自己的
323326 // }
327+ // if (isQuestDB()) {
328+ // return "admin"; //TODO 改成你自己的
329+ // }
324330 if (isInfluxDB ()) {
325331 return "iotos" ;
326332 }
@@ -396,6 +402,9 @@ public String getDBPassword() {
396402 // if (isTimescaleDB()) {
397403 // return "password"; //TODO 改成你自己的
398404 // }
405+ // if (isQuestDB()) {
406+ // return "quest"; //TODO 改成你自己的
407+ // }
399408 if (isInfluxDB ()) {
400409 return "apijson@123" ; //TODO 改成你自己的
401410 }
You can’t perform that action at this time.
0 commit comments