Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档id问题 #281

Open
zhaidw opened this issue Jan 26, 2021 · 1 comment
Open

文档id问题 #281

zhaidw opened this issue Jan 26, 2021 · 1 comment

Comments

@zhaidw
Copy link

zhaidw commented Jan 26, 2021

文档id问题

  1. 当前使用的版本号
    v0.2.1

  2. 是否已经升级到新版本

  3. 当前遇到的问题
    http://localhost:8081/page/display?document_id=3
    由于文档id是自增长,因此通过切换id会遍历所有文档

  4. 错误日志或截图
    不是错误,但安全性不好

  5. 希望增加的功能
    表 mw_document 的 主键字段 应该使用随机字符串或uuid 或 lower(hex(CRC32(NOW())))

@zhaidw
Copy link
Author

zhaidw commented Jan 28, 2021

已完成修改并测试:

#283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant