File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed
src/main/resources/templates Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,14 @@ Sort by letter.
7575
7676## How to run
7777
78+ The application will use mybatis auto-injection. Please run mysql ahead of time and configure the mysql database.
79+
80+ ```
81+ spring.datasource.url=jdbc:mysql://127.0.0.1:3306/java_sec_code
82+ spring.datasource.username=root
83+ spring.datasource.password=woshishujukumima
84+ ```
85+
7886- Tomcat
7987- IDEA
8088- JAR
Original file line number Diff line number Diff line change @@ -72,6 +72,13 @@ Tomcat默认JSESSION会话有效时间为30分钟,所以30分钟不操作会
7272
7373## 如何运行
7474
75+ 应用会用到mybatis自动注入,请提前运行mysql,并且进行mysql数据库配置。
76+
77+ ```
78+ spring.datasource.url=jdbc:mysql://127.0.0.1:3306/java_sec_code
79+ spring.datasource.username=root
80+ spring.datasource.password=woshishujukumima
81+ ```
7582
7683### Tomcat
7784
Original file line number Diff line number Diff line change 2929 dataType : "json" ,
3030 success : function ( r ) {
3131 if ( r . code == 0 ) {
32- alert ( r . message ) ;
32+ // alert(r.message);
3333 location . href = ctx + 'index' ;
3434 } else {
3535 alert ( r . message ) ;
You can’t perform that action at this time.
0 commit comments