Skip to content

AqingCyan/Island-KoaServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
AqingCyan
Jan 26, 2020
9a63709 · Jan 26, 2020

History

44 Commits
Jan 26, 2020
Jan 25, 2020
Jan 26, 2020
Jan 26, 2020
Jan 25, 2020
Jan 25, 2020
Jan 23, 2020
Jan 26, 2020
Jan 25, 2020
Jan 24, 2020
Jan 11, 2020
Jan 12, 2020
Jan 26, 2020
Jan 23, 2020
Jan 23, 2020

Repository files navigation

基于Koa.js二次开发的小程序后台开发

Nothing to show you

踩坑

  • 每一次请求需要new一个校验器实例,若统一为一个校验器实例,只在项目启动时创建,多次请求需要校验的参数会混乱。这是因为中间件只在应用程序启动时初始化一次。
  • 为了在开发环境下抛出未知异常,因此,全局错误捕获中间件对环境和httpexception做了区分处理

About

🖖旧岛小程序Koa后台构建

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published