投稿功能
This commit is contained in:
30
CHANGELOG.md
30
CHANGELOG.md
@@ -4,7 +4,35 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
---
|
||||
|
||||
## [1.3.3] - 2026-03-30
|
||||
|
||||
### 修复
|
||||
- 🐛 **验证码验证问题修复**
|
||||
- 修复验证码填写正确但提交时仍显示"验证码错误"的问题
|
||||
- 原因:Flutter应用无法像浏览器那样自动维护PHP Session,导致服务器无法验证验证码
|
||||
- 解决方案:将验证码生成本地化,本地验证用户输入,提交时发送正确答案
|
||||
- 文件:`lib/views/profile/expand/manu-script.dart`
|
||||
|
||||
---
|
||||
|
||||
## [1.3.2] - 2026-03-30
|
||||
|
||||
### 新增
|
||||
- 📝 **诗词投稿功能**
|
||||
- 新增投稿页面 `lib/views/profile/expand/manu-script.dart`
|
||||
- 支持诗词收录申请,包含完整表单(参考语句、分类选择、诗人和标题、关键词、诗词介绍、人机验证)
|
||||
- 实现相似度检测功能,防止重复提交
|
||||
- 平台字段自动获取设备类型并发送"设备类型 + Flutter"格式数据
|
||||
- 修改"去投稿"按钮跳转逻辑,文件:`lib/views/profile/profile_page.dart`
|
||||
|
||||
### 修复
|
||||
- 🐛 **投稿API网络请求修复**
|
||||
- 修改HTTP客户端 `lib/utils/http/http_client.dart`,新增 `postForm` 方法支持 FormData 格式
|
||||
- 修复验证码获取逻辑,从API获取验证码而非本地生成
|
||||
- 修复所有API调用使用正确的路径 `app/api.php` 和 FormData 数据格式
|
||||
- 修复"网络请求失败2"错误
|
||||
|
||||
---
|
||||
|
||||
## [1.3.1] - 2026-03-29
|
||||
|
||||
@@ -23,6 +51,8 @@ All notable changes to this project will be documented in this file.
|
||||
- 显示"模拟数据"状态标识
|
||||
- 文件:`server_monitor.html`
|
||||
|
||||
---
|
||||
|
||||
## [1.3.0] - 2026-03-29
|
||||
|
||||
### 新增
|
||||
|
||||
Reference in New Issue
Block a user