Просмотр исходного кода

chore: auto bump version and changelog [skip ci]

iwt 3 месяцев назад
Родитель
Сommit
a352c3fb09

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-f1de08129db81c09a6c36828c4dab29071c0f6d8
+b9bb68e4b481d9be629d80ed5e8f30e109e8b535

+ 2 - 2
cfc-web/package-lock.json

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.394",
+  "version": "1.0.395",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.394",
+      "version": "1.0.395",
       "dependencies": {
         "@wangeditor/editor": "^5.1.23",
         "@wangeditor/editor-for-vue": "^1.0.2",

+ 1 - 1
cfc-web/package.json

@@ -1,6 +1,6 @@
 {
   "name": "cfc-web",
-  "version": "1.0.395",
+  "version": "1.0.396",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

+ 38 - 0
cfc-web/public/CHANGELOG-v1.0.md

@@ -4,6 +4,44 @@
 
 ---
 
+## v1.0.396 (2026-07-18)
+
+### Bug 修复
+- 移除活动菜单项 + MembershipCenter 改用本地axios
+- 管理端API请求方法修复 — PUT/DELETE统一改用POST
+- 文件存储调用方适配 — upload→store、移除原始文件IO逻辑
+- 文件存储重构 — 可配置上传目录、MIME类型校验、delete方法
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- 导致生产环境 405 Method Not Allowed 错误。
+- 修复范围:
+- • 用户: updateUser/deleteUser — 方法+URL 修正
+- • 家庭: updateFamily/deleteFamily — 方法+URL 修正
+- • 孩子: updateChild/deleteChild — 方法+URL 修正
+- • 任务模板: updateTaskTemplate/deleteTaskTemplate — 方法+URL 修正
+- • 奖励模板: updateRewardTemplate/deleteRewardTemplate — 方法+URL 修正
+- • 系统配置: deleteSysConfig — 方法修正
+- • 教师任务模板: deleteTeacherTaskTemplate — 方法+URL 修正
+- • 心愿: setWishPrice/rejectWish/approveWishExchange/markWishFulfilled — 方法修正
+- • 心愿: deleteWish — 方法+URL 修正 (/api/wishes/{id}→/cancel)
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- • AssessmentReportController: upload() → store()
+- • DanReportUploadService: upload() → store()
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- • FileStorageService: 增加 delete() 方法用于删除已上传文件
+- • WebConfig: addResourceHandler 使用 upload.base-dir 替代 System.getProperty
+- • application.yml: 添加 upload.base-dir 和 upload.allowed-types 配置
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+
 ## v1.0.395 (2026-07-18)
 
 ### Bug 修复

+ 39 - 1
cfc-web/public/CHANGELOG.md

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.395
+> 当前版本: v1.0.396
 
 ## 历史版本
 
@@ -8,6 +8,44 @@
 
 ---
 
+## v1.0.396 (2026-07-18)
+
+### Bug 修复
+- 移除活动菜单项 + MembershipCenter 改用本地axios
+- 管理端API请求方法修复 — PUT/DELETE统一改用POST
+- 文件存储调用方适配 — upload→store、移除原始文件IO逻辑
+- 文件存储重构 — 可配置上传目录、MIME类型校验、delete方法
+
+### 其他
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- 导致生产环境 405 Method Not Allowed 错误。
+- 修复范围:
+- • 用户: updateUser/deleteUser — 方法+URL 修正
+- • 家庭: updateFamily/deleteFamily — 方法+URL 修正
+- • 孩子: updateChild/deleteChild — 方法+URL 修正
+- • 任务模板: updateTaskTemplate/deleteTaskTemplate — 方法+URL 修正
+- • 奖励模板: updateRewardTemplate/deleteRewardTemplate — 方法+URL 修正
+- • 系统配置: deleteSysConfig — 方法修正
+- • 教师任务模板: deleteTeacherTaskTemplate — 方法+URL 修正
+- • 心愿: setWishPrice/rejectWish/approveWishExchange/markWishFulfilled — 方法修正
+- • 心愿: deleteWish — 方法+URL 修正 (/api/wishes/{id}→/cancel)
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- • AssessmentReportController: upload() → store()
+- • DanReportUploadService: upload() → store()
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+- • FileStorageService: 增加 delete() 方法用于删除已上传文件
+- • WebConfig: addResourceHandler 使用 upload.base-dir 替代 System.getProperty
+- • application.yml: 添加 upload.base-dir 和 upload.allowed-types 配置
+- Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)
+- Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
+- 
+
+
 ## v1.0.395 (2026-07-18)
 
 ### Bug 修复