File tree 4 files changed +932
-0
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo
4 files changed +932
-0
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,9 @@ public String getDBUri() {
245
245
// if (isTimescaleDB()) { // PG JDBC 必须在 URI 传 catalog
246
246
// return "jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified"; //TODO 改成你自己的
247
247
// }
248
+ // if (isQuestDB()) { // PG JDBC 必须在 URI 传 catalog
249
+ // return "jdbc:postgresql://localhost:8812/qdb"; //TODO 改成你自己的
250
+ // }
248
251
if (isInfluxDB ()) {
249
252
return "http://203.189.6.3:8086" ; //TODO 改成你自己的
250
253
}
@@ -321,6 +324,9 @@ public String getDBAccount() {
321
324
// if (isTimescaleDB()) {
322
325
// return "postgres"; //TODO 改成你自己的
323
326
// }
327
+ // if (isQuestDB()) {
328
+ // return "admin"; //TODO 改成你自己的
329
+ // }
324
330
if (isInfluxDB ()) {
325
331
return "iotos" ;
326
332
}
@@ -396,6 +402,9 @@ public String getDBPassword() {
396
402
// if (isTimescaleDB()) {
397
403
// return "password"; //TODO 改成你自己的
398
404
// }
405
+ // if (isQuestDB()) {
406
+ // return "quest"; //TODO 改成你自己的
407
+ // }
399
408
if (isInfluxDB ()) {
400
409
return "apijson@123" ; //TODO 改成你自己的
401
410
}
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments