环境
- nodejs
-
安装
-
参考
fast-crud 地址 http://fast-crud.docmirror.cn/
- crud具体使用 FsAdmin http://fast-crud.docmirror.cn/antdv/#/index
运行
- crud具体使用 FsAdmin http://fast-crud.docmirror.cn/antdv/#/index
npm run start
swagger地址: http://localhost:9102/doc/static/index.html
打包
npm run build
@typescript-eslint/eslint-plugin@latest eslint-config-airbnb-base@latest eslint@^7.32.0 || ^8.2.0 eslint-plugin-import@^2.25.2 @typescript-eslint/parser@latest✔ Would you like to install them now with npm? · No
待办
- 返回数据 统一格式
- 列表返回 pageSize无法使用
- 操作日志

- 登录日志
查询多条自带条件
// 使用R所带条件查询R.list<SysUserRole>(this.repo, {page: query.page,limit: query.limit,params: `user_id=${id}`})
list: Object { count: 1, total: 1, page: 1, … }count: 1data: Array [ {…} ]page: 1pageCount: 1total: 1
版本升级
- nest 升级到8.x版本
- 需要适配nestjsx/crud (目前没有适配)
- 适配typeorm高版本,做了大版本的迭代,需要修改业务代码
