Bläddra i källkod

update模糊供应商

gangvy 4 månader sedan
förälder
incheckning
bc453e1562

+ 2 - 2
competitor-analysis/competitor-bsr-tracking/api-config.json

@@ -27,7 +27,7 @@
       "name": "批量获取竞品监控数据",
       "forEach": "competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getMonitorData",
+        "service": "EcomDataService.getMonitorData",
         "endpoint": "/api/MonitorQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -49,7 +49,7 @@
       "name": "批量获取竞品当前状态",
       "forEach": "competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getProductDetail",
+        "service": "EcomDataService.getProductDetail",
         "endpoint": "/api/ProductRequest",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",

+ 4 - 4
competitor-analysis/competitor-discovery/api-config.json

@@ -55,7 +55,7 @@
       "step": 1,
       "name": "搜索品类产品",
       "api": {
-        "service": "SorftimeApiService.searchProductsByQuery",
+        "service": "EcomDataService.searchProductsByQuery",
         "endpoint": "/api/ProductQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -80,7 +80,7 @@
       "name": "查找相似产品",
       "condition": "ownAsins.length > 0",
       "api": {
-        "service": "SorftimeApiService.getSimilarProducts",
+        "service": "EcomDataService.getSimilarProducts",
         "endpoint": "/api/SimilarProductRealtimeRequest",
         "method": "POST",
         "requestBody": {
@@ -97,7 +97,7 @@
       "step": 3,
       "name": "关键词排名产品",
       "api": {
-        "service": "SorftimeApiService.getKeywordProductRanking",
+        "service": "EcomDataService.getKeywordProductRanking",
         "endpoint": "/api/KeywordProductRanking",
         "method": "POST",
         "requestBody": {
@@ -130,7 +130,7 @@
       "name": "批量获取竞品详情",
       "forEach": "filteredCompetitors",
       "api": {
-        "service": "SorftimeApiService.getProductDetail",
+        "service": "EcomDataService.getProductDetail",
         "endpoint": "/api/ProductRequest",
         "method": "POST",
         "requestBody": {

+ 3 - 3
competitor-analysis/competitor-pricing-analysis/api-config.json

@@ -36,7 +36,7 @@
       "step": 1,
       "name": "搜索品类Top100产品价格数据",
       "api": {
-        "service": "SorftimeApiService.searchProductsByQuery",
+        "service": "EcomDataService.searchProductsByQuery",
         "endpoint": "/api/ProductQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -61,7 +61,7 @@
       "name": "批量获取竞品详细定价信息",
       "forEach": "competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getProductDetail",
+        "service": "EcomDataService.getProductDetail",
         "endpoint": "/api/ProductRequest",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -86,7 +86,7 @@
       "name": "获取竞品历史价格趋势",
       "forEach": "competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getMonitorData",
+        "service": "EcomDataService.getMonitorData",
         "endpoint": "/api/MonitorQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",

+ 2 - 2
competitor-analysis/competitor-product-comparison/api-config.json

@@ -43,7 +43,7 @@
       "name": "批量获取所有ASIN产品详情",
       "forEach": "ownAsins + competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getProductDetail",
+        "service": "EcomDataService.getProductDetail",
         "endpoint": "/api/ProductRequest",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -68,7 +68,7 @@
       "name": "批量获取销量数据",
       "forEach": "ownAsins + competitorAsins",
       "api": {
-        "service": "SorftimeApiService.getAsinSalesVolume",
+        "service": "EcomDataService.getAsinSalesVolume",
         "endpoint": "/api/AsinSalesVolume",
         "method": "POST",
         "requestBody": {

+ 1 - 1
review-analysis/review-batch-collection/SKILL.md

@@ -34,7 +34,7 @@ review-batch-collection
    - 本店 vs 竞品加权均分对比
    - 各店铺差评率(1-2星占比)对比
    - top5产品排名(按加权评分)
-   - 兼容多种数据源格式(Sorftime PascalCase / 标准 camelCase)
+   - 兼容多种数据源格式(跨境电商平台 PascalCase / 标准 camelCase)
 
 ## 调用的底层 Skill
 - `voc/product-reviews-query` — 单ASIN单页评论请求

+ 2 - 2
review-analysis/review-batch-collection/api-config.json

@@ -54,7 +54,7 @@
       "name": "批量ASIN×多页评论采集",
       "forEach": "asins × [1..maxPagesPerAsin] × (starFilter || [null])",
       "api": {
-        "service": "SorftimeApiService.getProductReviews",
+        "service": "EcomDataService.getProductReviews",
         "endpoint": "/api/ProductReviewsQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -75,7 +75,7 @@
       },
       "output": "rawReviews",
       "responseFields": {
-        "note": "Sorftime返回的评论字段为PascalCase",
+        "note": "跨境电商数据平台返回的评论字段为PascalCase",
         "Star": "integer, 1-5",
         "Title": "string, 评论标题",
         "Content": "string, 评论正文",

+ 1 - 1
review-analysis/review-keyword-cloud/api-config.json

@@ -57,7 +57,7 @@
       "condition": "asins && asins.length > 0",
       "forEach": "asins",
       "api": {
-        "service": "SorftimeApiService.getAsinKeywords",
+        "service": "EcomDataService.getAsinKeywords",
         "endpoint": "/api/ASINRequestKeyword",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",

+ 1 - 1
review-analysis/review-sentiment-analysis/api-config.json

@@ -299,7 +299,7 @@
     }
   },
   "algorithmNotes": {
-    "starRatings": "Sorftime返回的星级字段(fiveStartRatings等)是百分比值,不是计数,加权评分=sum(star*pct)/sum(pct)",
+    "starRatings": "跨境电商数据平台返回的星级字段(fiveStartRatings等)是百分比值,不是计数,加权评分=sum(star*pct)/sum(pct)",
     "stopWords": "English停用词表: the/a/an/is/it/i/my/to/and/of/for/in/this/that/was/with/but/have/not/are"
   },
   "timeout": 300000,

+ 4 - 4
synthesis/brand-profile/api-config.json

@@ -42,7 +42,7 @@
       "name": "批量获取品牌产品详情",
       "forEach": "brandAsins",
       "api": {
-        "service": "SorftimeApiService.getProductDetail",
+        "service": "EcomDataService.getProductDetail",
         "endpoint": "/api/ProductRequest",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -67,7 +67,7 @@
       "name": "批量获取销量数据",
       "forEach": "brandAsins",
       "api": {
-        "service": "SorftimeApiService.getAsinSalesVolume",
+        "service": "EcomDataService.getAsinSalesVolume",
         "endpoint": "/api/AsinSalesVolume",
         "method": "POST",
         "requestBody": {
@@ -84,7 +84,7 @@
       "name": "采样获取评论概况",
       "forEach": "brandAsins",
       "api": {
-        "service": "SorftimeApiService.getProductReviews",
+        "service": "EcomDataService.getProductReviews",
         "endpoint": "/api/ProductReviewsQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -106,7 +106,7 @@
       "name": "获取品类基准数据(如未传入categoryLandscape)",
       "condition": "!categoryLandscape",
       "api": {
-        "service": "SorftimeApiService.searchProductsByQuery",
+        "service": "EcomDataService.searchProductsByQuery",
         "endpoint": "/api/ProductQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",

+ 5 - 5
synthesis/category-landscape/api-config.json

@@ -33,7 +33,7 @@
       "name": "搜索品类Top N产品",
       "forEach": "keywords",
       "api": {
-        "service": "SorftimeApiService.searchProductsByQuery",
+        "service": "EcomDataService.searchProductsByQuery",
         "endpoint": "/api/ProductQuery",
         "method": "POST",
         "forwardUrl": "https://server.fmode.cn/api/voc-ecom/forward",
@@ -58,7 +58,7 @@
       "name": "批量获取销量数据",
       "forEach": "searchResults[].Asin (去重)",
       "api": {
-        "service": "SorftimeApiService.getAsinSalesVolume",
+        "service": "EcomDataService.getAsinSalesVolume",
         "endpoint": "/api/AsinSalesVolume",
         "method": "POST",
         "requestBody": {
@@ -74,7 +74,7 @@
       "step": 3,
       "name": "定位品类类目",
       "api": {
-        "service": "SorftimeApiService.getCategoryTree",
+        "service": "EcomDataService.getCategoryTree",
         "endpoint": "/api/CategoryTree",
         "method": "POST",
         "requestBody": {
@@ -91,7 +91,7 @@
       "name": "获取核心关键词搜索量和竞争度",
       "forEach": "keywords",
       "api": {
-        "service": "SorftimeApiService.searchKeywords",
+        "service": "EcomDataService.searchKeywords",
         "endpoint": "/api/KeywordQuery",
         "method": "POST",
         "requestBody": {
@@ -108,7 +108,7 @@
       "name": "获取关键词趋势",
       "forEach": "keywords",
       "api": {
-        "service": "SorftimeApiService.getKeywordTrend",
+        "service": "EcomDataService.getKeywordTrend",
         "endpoint": "/api/KeywordSearchTrend",
         "method": "POST",
         "requestBody": {

+ 4 - 4
synthesis/product-deep-analysis/SKILL.md

@@ -20,10 +20,10 @@ author: nkkj-BrainHack
 | competitorAsins | string[] | ❌ | 可选竞品ASIN列表 |
 
 ## 数据采集
-1. **产品详情** — Sorftime ProductRequest (价格/评分/销量/排名/趋势)
-2. **ASIN反查关键词** — Sorftime ASINRequestKeyword (关键词/搜索量/CPC/竞争度/转化率)
-3. **监控数据** — Sorftime MonitorQuery (价格/排名/评分历史趋势)
-4. **评论采集** — Sorftime ProductReviewsQuery (多页采集,400ms间隔)
+1. **产品详情** — 跨境电商数据平台 ProductRequest (价格/评分/销量/排名/趋势)
+2. **ASIN反查关键词** — 跨境电商数据平台 ASINRequestKeyword (关键词/搜索量/CPC/竞争度/转化率)
+3. **监控数据** — 跨境电商数据平台 MonitorQuery (价格/排名/评分历史趋势)
+4. **评论采集** — 跨境电商数据平台 ProductReviewsQuery (多页采集,400ms间隔)
 
 ## 分析维度 (6大维度)
 

+ 1 - 1
voc/product-detail-query/api-config.json

@@ -60,7 +60,7 @@
     }
   },
   "requestTransform": {
-    "description": "将参数转换为 Sorftime forward 格式",
+    "description": "将参数转换为跨境电商数据平台 forward 格式",
     "template": {
       "path": "/api/ProductRequest",
       "method": "POST",

+ 2 - 2
xiaohongshu/xiaohongshu-note-comments/SKILL.md

@@ -85,5 +85,5 @@ GET /thapi/v1/xiaohongshu/app/get_note_comments?note_id=665f95200000000006005624
 
 - 统一网关: `https://server.fmode.cn/thapi/v1/xiaohongshu/app/get_note_comments`
 - **timeout 建议 45000ms**
-- 本 skill 使用共享 TikHub 订阅,**不经过 APIG 计费**
-- TikHub 偶发 400 瞬时错误,已启用 3 次重试
+- 本 skill 使用共享社媒数据订阅,**不经过 APIG 计费**
+- 社媒网关偶发 400 瞬时错误,已启用 3 次重试

+ 1 - 1
xiaohongshu/xiaohongshu-note-comments/api-config.json

@@ -105,5 +105,5 @@
     "backoffMultiplier": 2,
     "retryOn": [400, 429, 500, 502, 503, 504]
   },
-  "notes": "本 skill 使用共享 TikHub 订阅(/thapi/ 网关),不经过 APIG 计费。评论按热度排序,单次返回约 10-20 条。"
+  "notes": "本 skill 使用共享社媒数据订阅(/thapi/ 网关),不经过 APIG 计费。评论按热度排序,单次返回约 10-20 条。"
 }

+ 2 - 2
xiaohongshu/xiaohongshu-note-detail/SKILL.md

@@ -72,5 +72,5 @@ GET /thapi/v1/xiaohongshu/app/get_note_info?note_id=665f95200000000006005624
 - 统一网关: `https://server.fmode.cn/thapi/v1/xiaohongshu/app/get_note_info`
 - 请求方法为 GET,参数通过 URL query string 传递
 - **timeout 建议 45000ms**
-- 本 skill 使用共享 TikHub 订阅,**不经过 APIG 计费**
-- TikHub 偶发 400 瞬时错误,已启用 3 次重试
+- 本 skill 使用共享社媒数据订阅,**不经过 APIG 计费**
+- 社媒网关偶发 400 瞬时错误,已启用 3 次重试

+ 1 - 1
xiaohongshu/xiaohongshu-note-detail/api-config.json

@@ -98,5 +98,5 @@
     "backoffMultiplier": 2,
     "retryOn": [400, 429, 500, 502, 503, 504]
   },
-  "notes": "本 skill 使用共享 TikHub 订阅(/thapi/ 网关),不经过 APIG 计费。"
+  "notes": "本 skill 使用共享社媒数据订阅(/thapi/ 网关),不经过 APIG 计费。"
 }

+ 4 - 4
xiaohongshu/xiaohongshu-search-notes/SKILL.md

@@ -39,7 +39,7 @@ author: nkkj-BrainHack
 
 - **请求方法**: GET
 - **接口地址**: `https://server.fmode.cn/thapi/v1/xiaohongshu/app/search_notes`
-- **鉴权**: 使用共享 TikHub bearer token(已硬编码在 api-config.json 中)
+- **鉴权**: 使用共享社媒数据 bearer token(已硬编码在 api-config.json 中)
 
 **业务场景示例 1 - 品类种草内容发现:**
 ```
@@ -58,7 +58,7 @@ GET /thapi/v1/xiaohongshu/app/search_notes?keyword=肝纯片%20踩雷&page=1&sor
 
 ## 关键响应字段
 
-> **⚠️ 响应结构双层嵌套**:TikHub 网关包裹了一层,真实数据在 `data.data.*`(不是 `data.*`);每条笔记被 `items[]` 以 `{model_type, note}` 再包一层,笔记字段在 `items[].note.*`。
+> **⚠️ 响应结构双层嵌套**:社媒数据网关包裹了一层,真实数据在 `data.data.*`(不是 `data.*`);每条笔记被 `items[]` 以 `{model_type, note}` 再包一层,笔记字段在 `items[].note.*`。
 
 | 字段路径 | 业务用途 |
 |----------|---------|
@@ -86,5 +86,5 @@ GET /thapi/v1/xiaohongshu/app/search_notes?keyword=肝纯片%20踩雷&page=1&sor
 - 统一网关: `https://server.fmode.cn/thapi/v1/xiaohongshu/app/*`
 - 请求方法为 GET,参数通过 URL query string 传递
 - 中文关键词需 UTF-8 URL 编码
-- **timeout 建议 45000ms**(TikHub 响应较慢,偶发 400 需要重试)
-- 本 skill 使用共享 TikHub 订阅,**不经过 APIG 计费**
+- **timeout 建议 45000ms**(社媒网关响应较慢,偶发 400 需要重试)
+- 本 skill 使用共享社媒数据订阅,**不经过 APIG 计费**

+ 2 - 2
xiaohongshu/xiaohongshu-search-notes/api-config.json

@@ -62,7 +62,7 @@
   "response": {
     "type": "object",
     "description": "搜索结果(双层包装:data.data 是真正数据),含 20 条笔记列表",
-    "note": "TikHub 网关响应是双层 data:顶层 data 是 HTTP 包装层,data.data 才是业务数据。items[] 每项是 {model_type, note} 包装,真正的笔记字段在 items[].note 里。",
+    "note": "社媒数据网关响应是双层 data:顶层 data 是 HTTP 包装层,data.data 才是业务数据。items[] 每项是 {model_type, note} 包装,真正的笔记字段在 items[].note 里。",
     "keyFields": {
       "data.code": "HTTP 状态码(外层)",
       "data.data.code": "业务状态码(0=成功)",
@@ -162,5 +162,5 @@
     "backoffMultiplier": 2,
     "retryOn": [400, 429, 500, 502, 503, 504]
   },
-  "notes": "本 skill 使用共享 TikHub 订阅(/thapi/ 网关),不经过 APIG 计费。TikHub 偶发 400 瞬时错误,已启用 3 次重试。中文关键词会在请求时自动 URL-encode。"
+  "notes": "本 skill 使用共享社媒数据订阅(/thapi/ 网关),不经过 APIG 计费。社媒网关偶发 400 瞬时错误,已启用 3 次重试。中文关键词会在请求时自动 URL-encode。"
 }

+ 2 - 2
xiaohongshu/xiaohongshu-user-info/SKILL.md

@@ -81,5 +81,5 @@ GET /thapi/v1/xiaohongshu/app/get_user_info?user_id=5b2b8cd211be10256e09fa0d
 
 - 统一网关: `https://server.fmode.cn/thapi/v1/xiaohongshu/app/get_user_info`
 - **timeout 建议 45000ms**
-- 本 skill 使用共享 TikHub 订阅,**不经过 APIG 计费**
-- TikHub 偶发 400 瞬时错误,已启用 3 次重试
+- 本 skill 使用共享社媒数据订阅,**不经过 APIG 计费**
+- 社媒网关偶发 400 瞬时错误,已启用 3 次重试

+ 1 - 1
xiaohongshu/xiaohongshu-user-info/api-config.json

@@ -94,5 +94,5 @@
     "backoffMultiplier": 2,
     "retryOn": [400, 429, 500, 502, 503, 504]
   },
-  "notes": "本 skill 使用共享 TikHub 订阅(/thapi/ 网关),不经过 APIG 计费。"
+  "notes": "本 skill 使用共享社媒数据订阅(/thapi/ 网关),不经过 APIG 计费。"
 }