midwayjs

zs be61a57ea7 合并 пре 1 година
src 76dc63ced9 日志注解 пре 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 0141f6a38c 修改 пре 1 година
pnpm-lock.yaml 76dc63ced9 日志注解 пре 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下的函数名,纯自定义|