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 | 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver |
| 11 | 11 | spring.datasource.url= jdbc:mysql://192.168.40.82:3306/qp_control |
| 12 | 12 | spring.datasource.username= root |
| 13 | -spring.datasource.password= root2jsp | |
| 13 | +spring.datasource.password= 123456 | |
| 14 | 14 | #DATASOURCE |
| 15 | 15 | spring.datasource.max-active=100 |
| 16 | 16 | spring.datasource.max-idle=8 | ... | ... |
src/main/resources/application.properties
src/main/resources/datatools/config-prod.properties
src/main/resources/static/pages/permission/user/list.html
| ... | ... | @@ -133,11 +133,7 @@ |
| 133 | 133 | {{obj.lastLoginDate}} |
| 134 | 134 | </td> |
| 135 | 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 | 137 | </td> |
| 142 | 138 | </tr> |
| 143 | 139 | {{/each}} | ... | ... |