Преглед изворни кода

chore: auto bump version and changelog [skip ci]

iwt пре 3 месеци
родитељ
комит
51410dc622

+ 16 - 0
cfc-frontend/config.js

@@ -12,6 +12,14 @@
 
 let API_BASE_URL = 'http://cfc.iwintrue.com'
 
+// LangGraph 适配层地址(AI 对话/分析走这里,失败时回退到 Dify)
+// 默认本地开发:http://localhost:9000;远程环境按需修改
+let LANGGRAPH_BASE_URL = 'http://localhost:9000'
+
+// Dify fallback 地址(LangGraph 不可用时回退到此)
+// 默认本地开发:http://localhost:8083;远程环境按需修改
+let DIFY_BASE_URL = 'http://localhost:8083'
+
 try {
   const accountInfo = uni.getAccountInfoSync()
   const env = accountInfo && accountInfo.miniProgram && accountInfo.miniProgram.envVersion
@@ -20,12 +28,18 @@ try {
     switch (env) {
       case 'develop':
         API_BASE_URL = 'http://cfc.etotem.com.cn'
+        LANGGRAPH_BASE_URL = 'http://cfc.etotem.com.cn:9000'
+        DIFY_BASE_URL = 'http://cfc.etotem.com.cn:8083'
         break
       case 'trial':
         API_BASE_URL = 'https://cfc.iwintrue.com'
+        LANGGRAPH_BASE_URL = 'https://cfc.iwintrue.com:9000'
+        DIFY_BASE_URL = 'https://cfc.iwintrue.com:8083'
         break
       case 'release':
         API_BASE_URL = 'https://cfc.etotem.com.cn'
+        LANGGRAPH_BASE_URL = 'https://cfc.etotem.com.cn:9000'
+        DIFY_BASE_URL = 'https://cfc.etotem.com.cn:8083'
         break
     }
   }
@@ -35,6 +49,8 @@ try {
 
 export default {
   API_BASE_URL,
+  LANGGRAPH_BASE_URL,
+  DIFY_BASE_URL,
 
   /** 构建 API 完整 URL */
   api(path) {

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-a2c5abf464fea253b53db442de7892494ebaeb1a
+ed9cdec8452848d5a0a010a91eff91af1bb07c70

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

@@ -1,12 +1,12 @@
 {
   "name": "cfc-web",
-  "version": "1.0.492",
+  "version": "1.0.493",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "": {
       "name": "cfc-web",
-      "version": "1.0.492",
+      "version": "1.0.493",
       "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.493",
+  "version": "1.0.494",
   "private": true,
   "scripts": {
     "dev": "vue-cli-service serve",

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

@@ -4,6 +4,19 @@
 
 ---
 
+## v1.0.494 (2026-07-22)
+
+### 其他
+- 优化自来水污染科普文章:新增农药残留和氯消毒副产物章节,突出Enagic还原水机方案
+- - 新增Section: 农药残留(46种农药频繁检出,拟除虫菊酯首次在自来水中确认)
+- - 新增Section: 氯消毒副产物DBPs(Liu et al. Nature Sustainability 2022 膀胱癌关联)
+- - 新增Section: Enagic还原水机(ISO 13485认证、五种功能水、科学依据与临床证据)
+- - 新增Sticky TOC导航、数据表格、引用卡片网格、对比表格
+- - 更新参考文献至25条(新增农药/DBPs/Enagic相关引用)
+- - 添加截图占位区域(用户替换为实际截图)
+- 
+
+
 ## v1.0.493 (2026-07-22)
 
 ### 其他

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

@@ -1,6 +1,6 @@
 # 更新日志
 
-> 当前版本: v1.0.493
+> 当前版本: v1.0.494
 
 ## 历史版本
 
@@ -8,6 +8,19 @@
 
 ---
 
+## v1.0.494 (2026-07-22)
+
+### 其他
+- 优化自来水污染科普文章:新增农药残留和氯消毒副产物章节,突出Enagic还原水机方案
+- - 新增Section: 农药残留(46种农药频繁检出,拟除虫菊酯首次在自来水中确认)
+- - 新增Section: 氯消毒副产物DBPs(Liu et al. Nature Sustainability 2022 膀胱癌关联)
+- - 新增Section: Enagic还原水机(ISO 13485认证、五种功能水、科学依据与临床证据)
+- - 新增Sticky TOC导航、数据表格、引用卡片网格、对比表格
+- - 更新参考文献至25条(新增农药/DBPs/Enagic相关引用)
+- - 添加截图占位区域(用户替换为实际截图)
+- 
+
+
 ## v1.0.493 (2026-07-22)
 
 ### 其他