Commit Graph

54 Commits

Author SHA1 Message Date
戒酒的李白 8249ec0048 Implement a two-level caching system (memory + disk) to optimize topic switch response speed, support asynchronous writing, and automatically clean up expired data. 2025-02-09 22:06:46 +08:00
戒酒的李白 607db7317e Optimize model loading and prediction performance, implement the singleton pattern, and provide comprehensive error handling and error messages, along with confidence level display. 2025-02-08 23:00:11 +08:00
戒酒的李白 1707c2c3de Added a feature to select the emotion analysis model, supporting switching between the basic and improved models. 2025-02-04 21:06:33 +08:00
戒酒的李白 826de6184d The old emotion recognition model has been replaced with the new model_pro, and the results have been integrated into the project. 2025-02-04 21:03:45 +08:00
戒酒的李白 c62f2b2a8e Added a logging utility class and supplemented, standardized the logging output for all modules. 2025-01-27 18:09:30 +08:00
Asy0y0 06e6060b7a Delete some unnecessary introductions 2025-01-12 03:18:25 -06:00
lycorisk 38c11b05d5 Update user.py
1,密码哈希:
    将密码加盐哈希的逻辑抽取到 hash_password 函数中,提高代码复用性。
2,参数化查询:
    使用参数化的 SQL 查询防止 SQL 注入攻击。
3表单字段获取:
    使用 get 方法获取表单字段,并移除多余空格。
4,友好错误提示:
    登录失败时,返回错误信息,并保留用户名以减少用户重新输入的负担。
2024-12-10 21:28:12 +08:00
suki-un 8e1635e865 更新 index.html 2024-09-30 23:43:03 +08:00
戒酒的李白 e46c61b42c 【最终版1】 2024-07-05 12:25:56 +08:00
juanboy 2713bf9fe2 话题预测界面 2024-07-05 01:38:10 +08:00
juanboy 82bf846b5b 摘虫 2024-07-04 22:56:17 +08:00
juanboy cc8468d9ef Merge remote-tracking branch 'origin/main' 2024-07-04 19:22:36 +08:00
juanboy d139169e09 爬虫结束自动打标注 2024-07-04 19:22:17 +08:00
戒酒的李白 ab8d9f0b39 【数据爬取规则修改】这次以后就不要再用爬虫了,我们的数据库到明天就不要动了 2024-07-04 19:19:27 +08:00
redhongx a1d1e8d4a6 【page.py】【getTableData.py】修改import 2024-07-04 12:40:55 +08:00
戒酒的李白 fe1e02877b 【前端小修改】登陆注册、侧边栏描述文字小修改 2024-07-04 01:41:32 +08:00
戒酒的李白 9600130b9c 【login_and_register.html】描述修改 2024-07-03 22:57:55 +08:00
戒酒的李白 d7da8b909b 【登陆注册】彻底完成 2024-07-03 22:34:04 +08:00
戒酒的李白 1b19855915 【user.py】登录控制器修改 2024-07-03 21:41:44 +08:00
戒酒的李白 d67cc6c4f4 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2024-07-03 20:45:40 +08:00
戒酒的李白 84214d7ccc 【登陆注册】界面修改到一个html,统一接口 2024-07-03 20:45:36 +08:00
kpt e49fc0e517 【user.py】删除后端注册过程中的确认密码逻辑,确认密码在前端完成 2024-07-03 20:43:56 +08:00
kpt afd50ff32f 【page.py】添加话题页接口 2024-07-03 20:35:59 +08:00
戒酒的李白 cd4d568af2 【登录页】初始化中 2024-07-03 20:23:41 +08:00
戒酒的李白 4e0c977978 【登录界面】原始人,启动! 2024-07-03 20:10:05 +08:00
kpt d3fbafc8cf 【删除静态文件】别他妈往上推了 2024-07-03 19:30:11 +08:00
juanboy e497df720e 数据库连接改错了 2024-07-03 19:12:24 +08:00
juanboy fdaf80cbe1 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2024-07-03 19:02:09 +08:00
juanboy ba9fe57784 bug修改 2024-07-03 19:01:59 +08:00
kpt 3acbb1e0fe 【user.py】修复了密码值返回的是函数的 Bug 2024-07-03 18:42:41 +08:00
kpt 86533a51a9 【user.py】修复了哈希是全局变量的bug 2024-07-03 18:39:27 +08:00
kpt c3a95d7419 【删除生成文件】page.cpython-38.pyc 2024-07-03 18:35:50 +08:00
kpt d2f1064065 【user.py】密码存储方式调整为哈希加盐 2024-07-03 18:23:43 +08:00
戒酒的李白 d93da880cf 【bug修复】login小问题修改 2024-07-03 15:29:21 +08:00
戒酒的李白 604dab7588 【bug修复】date改成data 2024-07-03 15:24:49 +08:00
戒酒的李白 468455ebc4 【展示页完善】各种子菜单的显示完善 2024-07-03 15:19:18 +08:00
戒酒的李白 ad11069b05 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2024-07-03 14:24:56 +08:00
戒酒的李白 fb203c6b43 【词云.html】接收py函数返回的词云图,展示在前端中 2024-07-03 14:24:35 +08:00
juanboy c32848551d 【commentChar.html】评论分析前端页面JS编写 2024-07-03 14:15:08 +08:00
juanboy 2ec07c6e50 【commentChar.html】评论分析前端页面设计 2024-07-03 14:13:50 +08:00
juanboy 147bf0f984 【articleChar】文章分析页面JS编写 2024-07-03 14:11:19 +08:00
kpt 5c985a4b5c 【errorResponse.py】重命名errResp 2024-07-03 14:07:22 +08:00
戒酒的李白 e1d4c57482 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2024-07-03 14:03:51 +08:00
juanboy 3e4f139867 【articleChar.html】文章分析前端页面设计 2024-07-03 14:03:25 +08:00
戒酒的李白 061a2a1331 【base_page.html】基础首页框架搭建 2024-07-03 14:00:00 +08:00
戒酒的李白 46cb23086f 【ipChar.html】ip地图页面完善 2024-07-03 13:45:41 +08:00
戒酒的李白 1d2fab3115 【ipChar.html】ip地图页面初步框架 2024-07-03 13:24:26 +08:00
kpt 00bed3ac63 【register.html】基于base_login完成注册界面 2024-07-02 18:33:10 +08:00
kpt c7f6c15a43 【login_base.html】完成登录界面 2024-07-02 17:49:21 +08:00
kpt 7f5d2a0858 【user.py】添加登出接口 2024-07-02 17:10:50 +08:00