1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-03 23:52:51 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

第三方登录回调跳转地址错误修正,用户收藏功能异常修复

This commit is contained in:
2022-04-11 22:50:29 +08:00
parent c9c3917fc3
commit 9a19a99fd6
3 changed files with 12 additions and 2 deletions

View File

@@ -37,7 +37,7 @@
// 绑定第三方账号成功
alert("绑定成功");
location.href = "/dashboard/user/myAccount";
location.href = "/dashboard/user/my-account";
} else {
// 第三方登录成功
localStorageUtils.userLogin({

View File

@@ -1,5 +1,11 @@
<!-- 搜索书籍 -->
<script>
search({
tableElementId: "book-table",
searchText: null,
categoryId: null
});
function search({ tableElementId = "" }) {
postRequest("/book/getFavoritesList", { token: localStorageUtils.getToken() })
.then(function (responseData) {

View File

@@ -1 +1,5 @@
java -Dloader.path=D:\temp\lib -jar target/bookshelfplus-1.0-SNAPSHOT.jar
java -Dloader.path=D:\temp\lib -Ddruid.mysql.usePingMethod=false -jar target/bookshelfplus-1.0-SNAPSHOT.jar
:: 2022-04-11 11:27:02.240 WARN 15012 --- [nio-8090-exec-3] c.a.druid.pool.DruidAbstractDataSource : discard long time none received connection. , jdbcUrl : jdbc:mysql://127.0.0.1:3306/bookshelfplus?useSSL=false&serverTimezone=Asia/Shanghai, version : 1.2.8, lastPacketReceivedIdleMillis : 70565
:: 解决方法:-Ddruid.mysql.usePingMethod=false