更换为云数据库
This commit is contained in:
parent
750f5aec4c
commit
554d6ec7b9
@ -9,6 +9,6 @@ spring.jpa.generate-ddl=false
|
||||
spring.jpa.show-sql=true
|
||||
spring.jpa.hibernate.ddl-auto=create
|
||||
|
||||
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/ase?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=Hy009048
|
||||
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:119.23.9.34}:3306/ase?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
|
||||
spring.datasource.username=codedream
|
||||
spring.datasource.password=codedreampasswd
|
||||
|
@ -14,7 +14,7 @@
|
||||
<div class="card-header">
|
||||
<h4 class="card-title">登录</h4>
|
||||
</div>
|
||||
<form th:action="@{/login}" method="post">
|
||||
<form action="/login" method="post">
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
<label for="username">用户名</label>
|
||||
@ -28,10 +28,9 @@
|
||||
<div class="card-action">
|
||||
<button type="submit" class="btn btn-primary btn-block"><b>登录</b></button>
|
||||
</div>
|
||||
<button type="submit" class="btn-link"><b>忘记密码</b></button>
|
||||
<button type="submit" class="btn-link"><b>注册账号</b></button>
|
||||
</form>
|
||||
<div th:if="${param.error}">
|
||||
用户名或密码错误
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user