File tree Expand file tree Collapse file tree
src/main/java/apijson/framework Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66 <groupId >apijson.framework</groupId >
77 <artifactId >apijson-framework</artifactId >
8- <version >8.1.8 </version >
8+ <version >8.2.0 </version >
99 <packaging >jar</packaging >
1010
1111 <name >APIJSONFramework</name >
3939 <dependency >
4040 <groupId >com.github.Tencent</groupId >
4141 <artifactId >APIJSON</artifactId >
42- <version >8.1.8 </version >
42+ <version >8.2.0 </version >
4343 </dependency >
4444
4545 <!-- 数据库 JDBC 驱动 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -->
Original file line number Diff line number Diff line change @@ -206,6 +206,10 @@ public String gainDBUri() {
206206 if (isDoris ()) {
207207 return "jdbc:mysql://localhost:9030" ;
208208 }
209+ if (isStarRocks ()) {
210+ return "jdbc:mysql://localhost:9030" ;
211+ }
212+
209213 return null ;
210214 }
211215
@@ -287,6 +291,9 @@ public String gainDBAccount() {
287291 if (isDoris ()) {
288292 return "root" ; //TODO 改成你自己的
289293 }
294+ if (isStarRocks ()) {
295+ return "root" ; //TODO 改成你自己的
296+ }
290297
291298 return null ;
292299 }
@@ -365,6 +372,9 @@ public String gainDBPassword() {
365372 if (isDoris ()) {
366373 return "" ;
367374 }
375+ if (isStarRocks ()) {
376+ return "" ;
377+ }
368378
369379 return null ;
370380 }
Original file line number Diff line number Diff line change @@ -203,6 +203,10 @@ public String gainDBUri() {
203203 if (isDoris ()) {
204204 return "jdbc:mysql://localhost:9030" ;
205205 }
206+ if (isStarRocks ()) {
207+ return "jdbc:mysql://localhost:9030" ;
208+ }
209+
206210 return null ;
207211 }
208212
@@ -284,6 +288,9 @@ public String gainDBAccount() {
284288 if (isDoris ()) {
285289 return "root" ; //TODO 改成你自己的
286290 }
291+ if (isStarRocks ()) {
292+ return "root" ; //TODO 改成你自己的
293+ }
287294
288295 return null ;
289296 }
@@ -362,6 +369,9 @@ public String gainDBPassword() {
362369 if (isDoris ()) {
363370 return "" ;
364371 }
372+ if (isStarRocks ()) {
373+ return "" ;
374+ }
365375
366376 return null ;
367377 }
You can’t perform that action at this time.
0 commit comments