/uploadServer

Primary LanguageJavaScript

server

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

{ code: 0, data: {

},
message: 
<!-- errors: 具体错误信息 -->

}

code 0 成功 其他都说失败

-1 错误

-666 登录状态过期