@windrun-huaiin/diaomao 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.local.txt
CHANGED
|
@@ -4,9 +4,9 @@ NEXT_PUBLIC_BASE_URL=http://localhost:3000
|
|
|
4
4
|
EXAMPLE_TEST_X=sk-dev-7C021EA0-386B-4908-BFDD-3ACC55B2BD6F
|
|
5
5
|
|
|
6
6
|
# Github在菜单上的筛选按钮链接配置(可选)
|
|
7
|
-
NEXT_PUBLIC_GITHUB=https://github.com/
|
|
7
|
+
NEXT_PUBLIC_GITHUB=https://github.com/caofanCPU/diaomao/
|
|
8
8
|
# Blog页面的EditOnGithub按钮的链接base-url配置(可选, 若开放编辑则必须配置)
|
|
9
|
-
NEXT_PUBLIC_GITHUB_BASE_URL=https://github.com/
|
|
9
|
+
NEXT_PUBLIC_GITHUB_BASE_URL=https://github.com/caofanCPU/diaomao/blob/main
|
|
10
10
|
# R2上的图片下载代理服务器配置(可选, 如果需要下载图片则必须配置, 否则会出现跨域报错)
|
|
11
11
|
NEXT_PUBLIC_STYLE_CDN_PROXY_URL=https://r2-explorer-template.zcy777et.workers.dev/proxy
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/diaomao",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"@radix-ui/react-slot": "^1.2.2",
|
|
26
26
|
"@tailwindcss/typography": "latest",
|
|
27
27
|
"@types/mdx": "^2.0.13",
|
|
28
|
-
"@windrun-huaiin/base-ui": "^6.0.
|
|
29
|
-
"@windrun-huaiin/lib": "^6.2.
|
|
30
|
-
"@windrun-huaiin/third-ui": "^5.
|
|
28
|
+
"@windrun-huaiin/base-ui": "^6.0.3",
|
|
29
|
+
"@windrun-huaiin/lib": "^6.2.1",
|
|
30
|
+
"@windrun-huaiin/third-ui": "^5.14.2",
|
|
31
31
|
"autoprefixer": "^10.4.21",
|
|
32
32
|
"class-variance-authority": "^0.7.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/react-dom": "19.1.3",
|
|
66
66
|
"@types/react-medium-image-zoom": "^3.0.3",
|
|
67
67
|
"@typescript-eslint/parser": "^8.32.1",
|
|
68
|
-
"@windrun-huaiin/dev-scripts": "^6.8.
|
|
68
|
+
"@windrun-huaiin/dev-scripts": "^6.8.2",
|
|
69
69
|
"eslint": "^9.27.0",
|
|
70
70
|
"eslint-config-next": "15.3.2",
|
|
71
71
|
"eslint-plugin-unused-imports": "^4.1.4",
|
package/src/mdx/blog/index.mdx
CHANGED
|
@@ -8,13 +8,10 @@ date: 2025-08-08
|
|
|
8
8
|
## Past List
|
|
9
9
|
|
|
10
10
|
<Cards>
|
|
11
|
-
<ZiaCard href="blog/
|
|
12
|
-
2025-
|
|
11
|
+
<ZiaCard href="blog/paid-system-design" title="订阅系统AI详细设计">
|
|
12
|
+
2025-08-08
|
|
13
13
|
</ZiaCard>
|
|
14
|
-
<ZiaCard href="blog/
|
|
15
|
-
2025-
|
|
16
|
-
</ZiaCard>
|
|
17
|
-
<ZiaCard icon={<Test />} href="blog/test" title="MDX Test">
|
|
18
|
-
2025-06-23
|
|
14
|
+
<ZiaCard href="blog/async-architecture" title="异步处理架构升级方案">
|
|
15
|
+
2025-08-02
|
|
19
16
|
</ZiaCard>
|
|
20
17
|
</Cards>
|
package/src/mdx/blog/ioc.mdx
CHANGED
|
@@ -7,12 +7,9 @@ date: 2025-08-08
|
|
|
7
7
|
|
|
8
8
|
## Overview
|
|
9
9
|
<Files>
|
|
10
|
-
<ZiaFolder name="2025-
|
|
11
|
-
<ZiaFile name="2025-
|
|
12
|
-
<ZiaFile name="2025-
|
|
13
|
-
</ZiaFolder>
|
|
14
|
-
<ZiaFolder name="2025-06(1)">
|
|
15
|
-
<ZiaFile name="2025-06-23(MDX Test)" href="./test" />
|
|
10
|
+
<ZiaFolder name="2025-08(2)" defaultOpen>
|
|
11
|
+
<ZiaFile name="2025-08-08(订阅系统AI详细设计)" href="./paid-system-design" />
|
|
12
|
+
<ZiaFile name="2025-08-02(异步处理架构升级方案)" href="./async-architecture" />
|
|
16
13
|
</ZiaFolder>
|
|
17
14
|
</Files>
|
|
18
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
title:
|
|
3
|
-
description:
|
|
4
|
-
date: 2025-
|
|
2
|
+
title: 订阅系统AI详细设计
|
|
3
|
+
description: 积分、用户、订单、支付系统打通, 产研方案一体化
|
|
4
|
+
date: 2025-08-08
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## 概述
|
|
@@ -556,8 +556,8 @@ classDiagram
|
|
|
556
556
|
<Mermaid
|
|
557
557
|
title="核心业务流程架构"
|
|
558
558
|
chart={`
|
|
559
|
-
flowchart
|
|
560
|
-
%%
|
|
559
|
+
flowchart LR
|
|
560
|
+
%% 使用入口/出口汇聚点, 减少跨层直连
|
|
561
561
|
|
|
562
562
|
classDef entry fill:#fff,stroke:#bbb,stroke-dasharray:3 3,color:#666;
|
|
563
563
|
classDef core fill:#f7faff,stroke:#7aa7e0,color:#1f2937;
|
|
@@ -919,7 +919,7 @@ stateDiagram-v2
|
|
|
919
919
|
title="匿名用户与注册用户数据流程图"
|
|
920
920
|
chart={`
|
|
921
921
|
flowchart TB
|
|
922
|
-
%%
|
|
922
|
+
%% 模块内顺序化; 使用入口/出口汇聚节点减少跨模块交叉
|
|
923
923
|
classDef entry fill:#fff,stroke:#bbb,stroke-dasharray:3 3,color:#666;
|
|
924
924
|
classDef core fill:#f7faff,stroke:#7aa7e0,color:#1f2937;
|
|
925
925
|
|