@yorha2b-lab/autodev 1.0.41 → 1.0.42

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": "@yorha2b-lab/autodev",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "基于视觉大模型的前端(Umi+Antd)全自动 CRUD 代码生成器",
5
5
  "bin": {
6
6
  "autodev": "bin/autodev.js"
@@ -1,6 +1,4 @@
1
1
  module.exports = (columns, fileName) => `
2
2
  根据这些字段生成一个简单的接口mock数据: ${JSON.stringify(columns)},
3
- 格式为{key:value}:
4
- key: POST /api/${fileName}
5
- value: {data:模块对象列表},
3
+ 格式为{POST /api/${fileName}:{data:模块对象列表}}
6
4
  `