Merge pull request 'fix:修复name过长无法导入问题' (#20) from dev into master
All checks were successful
continuous-integration/drone Build is passing

Reviewed-on: #20
This commit is contained in:
fanxb 2023-12-02 18:41:11 +08:00
commit 63f1c9a54e
3 changed files with 17 additions and 7 deletions

View File

@ -22,16 +22,25 @@
帮助文档:[点击跳转](https://blog.fleyx.com/blog/detail/20220329/)
- 支持从chrome,edge,firefox等浏览器导入书签数据。
- 支持从OneEnv导入书签数据
- 支持从 chrome,edge,firefox 等浏览器导入书签数据。
- 支持从 OneEnv 导入书签数据
- 树型多级目录支持
- 支持导出标准html书签文件
- 支持导出标准 html 书签文件
- 强大的检索功能,支持拼音检索
- 支持浏览器插件,安装插件以后可右键添加书签
# 更新日志
## 2023-08-13
## 1.4.1
- 修复书签名过长无法导入问题
## 1.4
- 优化首图加载逻辑
- 支持 OneEnv 备份文件导入
## 1.3
![pic](https://s3.fleyx.com/picbed/2023/08/Snipaste_2023-08-13_15-01-20.png)
@ -39,7 +48,6 @@
位置:右上角个人中心-管理搜索引擎
# TODO
- [x] 主页功能

View File

@ -53,7 +53,7 @@ public class Bookmark {
this.setUserId(userId);
this.setPath(path);
this.setType(FOLDER_TYPE);
this.setName(name);
this.setName(name.length() > 2000 ? name.substring(0, 1999) : name);
this.setAddTime(addTime);
this.setSort(sort);
this.setCreateTime(System.currentTimeMillis());
@ -64,7 +64,7 @@ public class Bookmark {
this.setUserId(userId);
this.setPath(path);
this.setType(BOOKMARK_TYPE);
this.setName(name);
this.setName(name.length() > 2000 ? name.substring(0, 1999) : name);
this.setUrl(url);
this.setIcon(icon);
this.setSort(sort);

View File

@ -0,0 +1,2 @@
alter table bookmark
modify name varchar(2000) not null;