Kaynağa Gözat

chore: rebuild cfc-web dist (product-edit overflow fix)

Xiaogang Liao 1 gün önce
ebeveyn
işleme
7aedcb464a

+ 53 - 0
cfc-backend/src/main/java/com/etotem/cfc/controller/admin/AdminTaskReminderConfigController.java

@@ -0,0 +1,53 @@
+package com.etotem.cfc.controller.admin;
+
+import com.etotem.cfc.common.Result;
+import com.etotem.cfc.dto.TaskReminderConfigDTO;
+import com.etotem.cfc.service.TaskReminderConfigService;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestParam;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+@RestController
+@RequestMapping("/api/admin/task/reminder-config")
+public class AdminTaskReminderConfigController {
+
+    @Resource
+    private TaskReminderConfigService taskReminderConfigService;
+
+    @PostMapping("/get")
+    public Result<TaskReminderConfigDTO> getConfig(@RequestParam("userId") Long userId) {
+        if (userId == null) {
+            return Result.error("缺少 userId");
+        }
+        return Result.success(taskReminderConfigService.getConfig(userId));
+    }
+
+    @PostMapping("/save")
+    public Result<Void> saveConfig(@RequestBody AdminTaskReminderConfigSaveDTO dto) {
+        if (dto == null || dto.getUserId() == null) {
+            return Result.error("缺少 userId");
+        }
+        try {
+            taskReminderConfigService.saveConfig(dto.getUserId(), dto);
+            return Result.success(null);
+        } catch (IllegalArgumentException e) {
+            return Result.error(e.getMessage());
+        }
+    }
+
+    public static class AdminTaskReminderConfigSaveDTO extends TaskReminderConfigDTO {
+        private Long userId;
+
+        public Long getUserId() {
+            return userId;
+        }
+
+        public void setUserId(Long userId) {
+            this.userId = userId;
+        }
+    }
+}

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-0deddd41759f4300d1349b3e2780b435b853a69b
+6fe5bd30e36bbe6276a7d5b12a757a18fe153ba8

+ 1 - 1
cfc-web/package.json

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

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

@@ -4,6 +4,13 @@
 
 ---
 
+## v1.0.1565 (2026-10-10)
+
+### Bug 修复
+- 商品编辑页超长内容超出屏幕无法滚动(el-card 弹性约束导致裁剪)
+- Replace missing human-body.png with inline SVG silhouette for knowledge base page - Removed reference to nonexistent img/human-body.png, added inline SVG body silhouette with dimension markers, maintains existing marker positioning logic
+
+
 ## v1.0.1564 (2026-10-10)
 
 ### Bug 修复

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

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.1564
+> 当前版本: v1.0.1565
 
 ## 历史版本
 
@@ -8,6 +8,13 @@
 
 ---
 
+## v1.0.1565 (2026-10-10)
+
+### Bug 修复
+- 商品编辑页超长内容超出屏幕无法滚动(el-card 弹性约束导致裁剪)
+- Replace missing human-body.png with inline SVG silhouette for knowledge base page - Removed reference to nonexistent img/human-body.png, added inline SVG body silhouette with dimension markers, maintains existing marker positioning logic
+
+
 ## v1.0.1564 (2026-10-10)
 
 ### Bug 修复