Skip to content

Commit 68be91a

Browse files
authored
Update README.md
1 parent ba95225 commit 68be91a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

APIJSON-Java-Server/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# APIJSON后端上手 - Java
22
### JDBC Demo:
3-
[APIJSONDemo](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo) 为 APIJSON + SpringBoot 的最简单的初级使用 Demo;<br />
4-
[APIJSONBoot](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot) 为 APIJSON + SpringBoot 的接近生产环境成品的 Demo;<br />
5-
[APIJSONFinal](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONFinal) 为 APIJSON + JFinal 的接近生产环境成品的 Demo。<br />
3+
[APIJSONDemo](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo) 为 APIJSON + SpringBoot 的最简单的初级使用 Demo,通过 DemoSQLConfig 代码配置数据库;<br />
4+
[APIJSONBoot](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot) 为 APIJSON + SpringBoot 的接近生产环境成品的 Demo,通过 DemoSQLConfig 代码配置数据库;<br />
5+
[APIJSONFinal](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONFinal) 为 APIJSON + JFinal 的接近生产环境成品的 Demo,通过 DemoSQLConfig 代码配置数据库。<br />
66

77
### 连接池 Demo
8-
[APIJSONDemo-Druid](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-Druid) 为 APIJSON + SpringBoot + Druid 的简单初级使用 Demo;<br />
9-
[APIJSONDemo-HikariCP](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-HikariCP) 为 APIJSON + SpringBoot + HikariCP 的简单初级使用 Demo;<br />
10-
[APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource) 为 APIJSON + SpringBoot + Druid + HikariCP 的接近生产环境成品的多数据源 Demo,并且把 [APIAuto](https://github.com/TommyLemon/APIAuto) 的源码放到了 [src/main/resources/static](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static) 目录,可以用浏览器打开本地主页 http://localhost:8080 来调试。<br />
8+
[APIJSONDemo-Druid](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-Druid) 为 APIJSON + SpringBoot + Druid 的简单初级使用 Demo,通过 application.yml 文件配置数据库;<br />
9+
[APIJSONDemo-HikariCP](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONDemo-HikariCP) 为 APIJSON + SpringBoot + HikariCP 的简单初级使用 Demo,通过 application.yml 文件配置数据库;<br />
10+
[APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource) 为 APIJSON + SpringBoot + Druid + HikariCP 的接近生产环境成品的多数据源 Demo,<br />
11+
通过 application.yml 文件配置数据库,并且把 [APIAuto](https://github.com/TommyLemon/APIAuto) 的源码放到了 [src/main/resources/static](https://github.com/APIJSON/APIJSON-Demo/tree/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static) 目录,可以用浏览器打开本地主页 http://localhost:8080 来调试。<br />
1112

1213
<br />
13-
其中 APIJSONDemo 关闭了权限校验,不需要配置权限即可体验 /get 这个万能查询接口。<br />
14+
其中 APIJSONDemo [关闭了权限校验](/blob/master/APIJSON-Java-Server/APIJSONDemo/src/main/java/apijson/demo/DemoController.java#L52-L54) ,不需要配置权限即可体验 /get 这个万能查询接口。<br />
1415
新手建议先从 APIJSONDemo 入手体验,然后再转用 APIJSONBoot/APIJSONFinal。
1516

1617
Oracle, SQLServer 的 JDBC 驱动用了 GPL 类协议,所以示例项目的 pom.xml 都没有加它们的 Maven 依赖,需要自己加。<br />

0 commit comments

Comments
 (0)