midwayjs

lrf 0e299fa6c6 update 1 年之前
src 0e299fa6c6 update 1 年之前
test 3d187af848 init 1 年之前
.editorconfig 3d187af848 init 1 年之前
.eslintrc.json 3d187af848 init 1 年之前
.gitignore 3d187af848 init 1 年之前
.prettierrc.js 3d187af848 init 1 年之前
README.md 76dc63ced9 日志注解 1 年之前
README.zh-CN.md 3d187af848 init 1 年之前
bootstrap.js 3d187af848 init 1 年之前
ecosystem.config.js 3d187af848 init 1 年之前
jest.config.js 3d187af848 init 1 年之前
package-lock.json 0141f6a38c 修改 1 年之前
package.json 0e299fa6c6 update 1 年之前
pnpm-lock.yaml 0e299fa6c6 update 1 年之前
tsconfig.json 3d187af848 init 1 年之前

README.md

vue3js-template-service

1.单点登录

  • 1.不需要登录就可以使用的接口: 请求函数的方法注解参数添加 description: 'ignore'即可

2.注解

  • checkPermissionCode |注解名|类型|说明| |:-:|:-:|:-:| |roleCode|string|该接口权限所需标识 ${路由名称}.${功能}|

  • dataRecord |注解名|类型|说明| |:-:|:-:|:-:| |before|string|获取原数据的函数名;该service下的函数名,纯自定义| |after|string|获取新数据的函数名;该service下的函数名,纯自定义|