Skip to content

Commit 25a08cc

Browse files
committed
Fix: Readme
1 parent 6b60d0e commit 25a08cc

File tree

7 files changed

+12
-3
lines changed

7 files changed

+12
-3
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ This example repo uses the NestJS swagger module for API documentation. [NestJS
8585
}
8686
}
8787
```
88-
88+
![list](./asserts/list.png)
8989
- \#
9090

9191
操作符名称: 别名
@@ -114,6 +114,8 @@ This example repo uses the NestJS swagger module for API documentation. [NestJS
114114
}
115115
```
116116

117+
![column](./asserts/column.png)
118+
117119

118120
- 联表查询
119121

@@ -129,7 +131,10 @@ This example repo uses the NestJS swagger module for API documentation. [NestJS
129131
"userId@": "User/id"
130132
}
131133
}
134+
```
135+
![union-query](./asserts/union-query.png)
132136

137+
```json
133138
// 查询所有符合条件的comment 显示 第1页 每页2条
134139
// (因为默认page = 1 count = 10 所以默认最多为10条)
135140
{
@@ -146,6 +151,7 @@ This example repo uses the NestJS swagger module for API documentation. [NestJS
146151
}
147152

148153
```
154+
![union-list-query](./asserts/union-list-query.png)
149155

150156

151157
- 综合例子
@@ -160,11 +166,14 @@ This example repo uses the NestJS swagger module for API documentation. [NestJS
160166
"testAlias#": {
161167
"msgList[]": {
162168
"Comment": {
163-
"userId@": "userInfo#/User/id"
169+
"userId@": "userInfo#/User/id",
170+
"@column": "comment"
164171
},
165172
"count": 2,
166173
"page": 1
167174
}
168175
}
169176
}
170177
```
178+
179+
![mix](./asserts/mix.png)

asserts/column.png

41.4 KB
Loading

asserts/list.png

57.2 KB
Loading

asserts/mix.png

83.6 KB
Loading

asserts/union-list-query.png

74.7 KB
Loading

asserts/union-query.png

56.8 KB
Loading

pm2.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"apps": [{
33
"name": "ai-apijson-node",
4-
"script": "node ./index.js",
4+
"script": "./dist/http/main.js",
55
"log_date_format": "YYYY-MM-DD HH:mm:ss",
66
"instances" : 4,
77
"instance_var": "INSTANCE_ID",

0 commit comments

Comments
 (0)