@cnbcool/cnb-api-generate 2.18.2 → 2.18.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cnbcool/cnb-api-generate",
3
- "version": "2.18.2",
3
+ "version": "2.18.3",
4
4
  "main": "./built/index.js",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -31,8 +31,7 @@ description: CNB 平台交互命令,支持代码仓库、Issue、PR、CI、制
31
31
  - 图片 `.../-/imgs/<issues|pulls>/<数字 ID>/<key>/<文件名>`
32
32
  - 附件 `.../-/files/<issues|pulls>/<数字 ID>/<key>/<文件名>`
33
33
 
34
- 参数取 `/imgs/<issues|pulls>/`、`/files/<issues|pulls>/` 之后的**完整尾段**,
35
- 首位的数字 ID 段不能省,漏掉返回 `404`。
34
+ `图片路径/附件路径`=`<数字 ID>/<key>/<文件名>`,即 `参数` 取 `<issues|pulls>/` 之后的**完整尾段**。
36
35
 
37
36
  ## 常用链接
38
37