This website works better with JavaScript
홈
탐색
도움말
로그인
midway-learn
/
koa_template
Watch
2
Star
0
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
설명 없음
1
커밋
1
브랜치
0
릴리즈
브렌치:
master
브랜치
태그
master
koa_template
HTTP
SSH
ZIP
TAR.GZ
lrf
f7fb55295a
init
2 년 전
src
f7fb55295a
init
2 년 전
test
f7fb55295a
init
2 년 전
.editorconfig
f7fb55295a
init
2 년 전
.eslintrc.json
f7fb55295a
init
2 년 전
.gitignore
f7fb55295a
init
2 년 전
.prettierrc.js
f7fb55295a
init
2 년 전
README.md
f7fb55295a
init
2 년 전
README.zh-CN.md
f7fb55295a
init
2 년 전
bootstrap.js
f7fb55295a
init
2 년 전
jest.config.js
f7fb55295a
init
2 년 전
package.json
f7fb55295a
init
2 년 전
tsconfig.json
f7fb55295a
init
2 년 전
README.md
midway学习
关于封装
controller因为使用装饰器太多,但是目前并不支持装饰器继承.所以controller需要自己写
service封装基类:就是curd;如果要改;直接函数重载
目前 接口接收参数 与 接口返回参数 是必须要自己写 class 配 接口文档装饰器的
目前没想到框架要怎么封装,只是单纯的使用基类和工具类而已