Commit fd539fa3f91a1c0b84cbf513fa51e7b4d5225295
1 parent
8fa8c81e
edit db config
Showing
4 changed files
with
4 additions
and
8 deletions
src/main/resources/application-prod.properties
| @@ -10,7 +10,7 @@ spring.jpa.show-sql= true | @@ -10,7 +10,7 @@ spring.jpa.show-sql= true | ||
| 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver | 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver |
| 11 | spring.datasource.url= jdbc:mysql://192.168.40.82:3306/qp_control | 11 | spring.datasource.url= jdbc:mysql://192.168.40.82:3306/qp_control |
| 12 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 13 | -spring.datasource.password= root2jsp | 13 | +spring.datasource.password= 123456 |
| 14 | #DATASOURCE | 14 | #DATASOURCE |
| 15 | spring.datasource.max-active=100 | 15 | spring.datasource.max-active=100 |
| 16 | spring.datasource.max-idle=8 | 16 | spring.datasource.max-idle=8 |
src/main/resources/application.properties
src/main/resources/datatools/config-prod.properties
| @@ -8,7 +8,7 @@ datatools.kvars_dbip=192.168.40.82 | @@ -8,7 +8,7 @@ datatools.kvars_dbip=192.168.40.82 | ||
| 8 | #数据库用户名 | 8 | #数据库用户名 |
| 9 | datatools.kvars_dbuname=root | 9 | datatools.kvars_dbuname=root |
| 10 | #数据库密码 | 10 | #数据库密码 |
| 11 | -datatools.kvars_dbpwd=root2jsp | 11 | +datatools.kvars_dbpwd=123456 |
| 12 | #数据库库名 | 12 | #数据库库名 |
| 13 | datatools.kvars_dbdname=qp_control | 13 | datatools.kvars_dbdname=qp_control |
| 14 | 14 |
src/main/resources/static/pages/permission/user/list.html
| @@ -133,11 +133,7 @@ | @@ -133,11 +133,7 @@ | ||
| 133 | {{obj.lastLoginDate}} | 133 | {{obj.lastLoginDate}} |
| 134 | </td> | 134 | </td> |
| 135 | <td> | 135 | <td> |
| 136 | - {{if obj.enabled}} | ||
| 137 | - <button type="button" onclick="changeEnabled({{obj.id}},0)" class="btn btn-warning btn-sm">禁用</button> | ||
| 138 | - {{else}} | ||
| 139 | - <button type="button" onclick="changeEnabled({{obj.id}},1)" class="btn btn-success btn-sm">启用</button> | ||
| 140 | - {{/if}} | 136 | + |
| 141 | </td> | 137 | </td> |
| 142 | </tr> | 138 | </tr> |
| 143 | {{/each}} | 139 | {{/each}} |