From b2f1046cac1b4862e3a88f6487e5b77f0a2ebbae Mon Sep 17 00:00:00 2001 From: Auto Doc Publisher Date: Mon, 6 Aug 2018 09:48:46 +0000 Subject: [PATCH] docs: auto generate by ci docs: optimize egg-validate usage (#2852) --- api/Agent.html | 2 +- api/AgentWorkerLoader.html | 2 +- api/AppInfo.html | 2 +- api/AppWorkerLoader.html | 2 +- api/Application.html | 2 +- api/BaseContextLogger.html | 2 +- api/Config.html | 4 ++-- api/Context.html | 2 +- api/ContextLoader.html | 2 +- api/Egg.html | 2 +- api/EggApplication.html | 2 +- api/EggCore.html | 2 +- api/EggLoader.html | 2 +- api/FileLoader.html | 2 +- api/Helper.html | 2 +- api/I18n.html | 2 +- api/Messenger.html | 2 +- api/Request.html | 2 +- api/Response.html | 2 +- api/Router.html | 2 +- api/app_extend_context.js.html | 2 +- api/app_extend_helper.js.html | 2 +- api/app_extend_request.js.html | 2 +- api/app_extend_response.js.html | 2 +- api/config_config.default.js.html | 2 +- api/config_plugin.js.html | 2 +- api/global.html | 2 +- api/global.html#BaseContextClass | 2 +- api/global.html#Controller | 2 +- api/global.html#Service | 2 +- api/index.html | 2 +- api/index.js.html | 2 +- api/lib_agent.js.html | 2 +- api/lib_application.js.html | 2 +- api/lib_core_base_context_class.js.html | 2 +- api/lib_core_base_context_logger.js.html | 2 +- api/lib_core_context_httpclient.js.html | 2 +- api/lib_core_messenger.js.html | 2 +- api/lib_egg.js.html | 2 +- api/lib_jsdoc_context.jsdoc.html | 2 +- api/lib_jsdoc_request.jsdoc.html | 2 +- api/lib_jsdoc_response.jsdoc.html | 2 +- api/lib_loader_agent_worker_loader.js.html | 2 +- api/lib_loader_app_worker_loader.js.html | 2 +- ...s__egg-development@2.4.1@egg-development_agent.js.html} | 7 ++++--- ...nt@2.4.1@egg-development_config_config.default.js.html} | 6 +++--- api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html | 2 +- ...les__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html | 2 +- ...__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html | 2 +- ...gg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html | 2 +- ...s__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html | 2 +- ...egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html | 2 +- ...ator@3.0.3@egg-logrotator_config_config.default.js.html | 2 +- ...ultipart@2.0.0@egg-multipart_app_extend_context.js.html | 2 +- ...ipart@2.0.0@egg-multipart_config_config.default.js.html | 2 +- ...gg-schedule@3.3.0@egg-schedule_app_extend_agent.js.html | 2 +- ...-security@2.2.3@egg-security_app_extend_context.js.html | 2 +- ...curity@2.2.3@egg-security_config_config.default.js.html | 2 +- ...ession@3.1.0@egg-session_app_extend_application.js.html | 2 +- ...g-static@2.1.1@egg-static_config_config.default.js.html | 2 +- ..._egg-view@2.1.0@egg-view_app_extend_application.js.html | 2 +- ...les__egg-view@2.1.0@egg-view_app_extend_context.js.html | 2 +- ...__egg-view@2.1.0@egg-view_config_config.default.js.html | 2 +- ...watcher@3.0.0@egg-watcher_config_config.default.js.html | 2 +- api/node_modules_egg-core_lib_egg.js.html | 2 +- ...node_modules_egg-core_lib_loader_context_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_egg_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_file_loader.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_config.js.html | 2 +- ...de_modules_egg-core_lib_loader_mixin_controller.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_custom.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_extend.js.html | 2 +- ...de_modules_egg-core_lib_loader_mixin_middleware.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_plugin.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_router.js.html | 2 +- api/node_modules_egg-core_lib_loader_mixin_service.js.html | 2 +- ...e_modules_egg-core_lib_utils_base_context_class.js.html | 2 +- api/node_modules_egg-core_lib_utils_index.js.html | 2 +- api/node_modules_egg-core_lib_utils_router.js.html | 2 +- en/tutorials/restful.html | 2 +- zh-cn/tutorials/restful.html | 2 +- 81 files changed, 87 insertions(+), 86 deletions(-) rename api/{node_modules__egg-development@2.3.1@egg-development_agent.js.html => node_modules__egg-development@2.4.1@egg-development_agent.js.html} (99%) rename api/{node_modules__egg-development@2.3.1@egg-development_config_config.default.js.html => node_modules__egg-development@2.4.1@egg-development_config_config.default.js.html} (99%) diff --git a/api/Agent.html b/api/Agent.html index 3167f549e2..1987972c08 100644 --- a/api/Agent.html +++ b/api/Agent.html @@ -1502,7 +1502,7 @@
Example

diff --git a/api/AgentWorkerLoader.html b/api/AgentWorkerLoader.html index a04dc80e2f..087b5b865f 100644 --- a/api/AgentWorkerLoader.html +++ b/api/AgentWorkerLoader.html @@ -263,7 +263,7 @@

loadConfig<
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/AppInfo.html b/api/AppInfo.html index 9abee4dc9a..c714efff07 100644 --- a/api/AppInfo.html +++ b/api/AppInfo.html @@ -634,7 +634,7 @@

scope
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/AppWorkerLoader.html b/api/AppWorkerLoader.html index d473cffc16..6d7cc5e154 100644 --- a/api/AppWorkerLoader.html +++ b/api/AppWorkerLoader.html @@ -349,7 +349,7 @@

loadConfig<
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Application.html b/api/Application.html index 323fc79bf9..09056b2faa 100644 --- a/api/Application.html +++ b/api/Application.html @@ -2103,7 +2103,7 @@

Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/BaseContextLogger.html b/api/BaseContextLogger.html index 569342cc00..0ec00a436e 100644 --- a/api/BaseContextLogger.html +++ b/api/BaseContextLogger.html @@ -546,7 +546,7 @@

warn
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Config.html b/api/Config.html index b723ffc335..67a7071305 100644 --- a/api/Config.html +++ b/api/Config.html @@ -1101,7 +1101,7 @@
Properties:
Source:
@@ -5049,7 +5049,7 @@
Properties:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Context.html b/api/Context.html index 605a056ef1..9bedf36fdf 100644 --- a/api/Context.html +++ b/api/Context.html @@ -1873,7 +1873,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/ContextLoader.html b/api/ContextLoader.html index 0c7ff7a119..79bbcc4c68 100644 --- a/api/ContextLoader.html +++ b/api/ContextLoader.html @@ -476,7 +476,7 @@

parse
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Egg.html b/api/Egg.html index d4a9731e42..cb9a92783f 100644 --- a/api/Egg.html +++ b/api/Egg.html @@ -616,7 +616,7 @@

Subscript
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggApplication.html b/api/EggApplication.html index a6f3e32bd1..e3e9c9d1d8 100644 --- a/api/EggApplication.html +++ b/api/EggApplication.html @@ -3156,7 +3156,7 @@

Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggCore.html b/api/EggCore.html index f76b7d1d65..409f234e41 100644 --- a/api/EggCore.html +++ b/api/EggCore.html @@ -1962,7 +1962,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/EggLoader.html b/api/EggLoader.html index 8ad449015b..49166f8b1a 100644 --- a/api/EggLoader.html +++ b/api/EggLoader.html @@ -2786,7 +2786,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/FileLoader.html b/api/FileLoader.html index 96958e6e67..3724dbc412 100644 --- a/api/FileLoader.html +++ b/api/FileLoader.html @@ -695,7 +695,7 @@

parse
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Helper.html b/api/Helper.html index 5b8c827c49..1f9c71a7ca 100644 --- a/api/Helper.html +++ b/api/Helper.html @@ -508,7 +508,7 @@
Example

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/I18n.html b/api/I18n.html index 32c0d2f440..cee5dc855f 100644 --- a/api/I18n.html +++ b/api/I18n.html @@ -259,7 +259,7 @@
Example

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Messenger.html b/api/Messenger.html index a3a53c37b9..d21a4321b4 100644 --- a/api/Messenger.html +++ b/api/Messenger.html @@ -1164,7 +1164,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Request.html b/api/Request.html index 06c08612be..e3478dcca4 100644 --- a/api/Request.html +++ b/api/Request.html @@ -1246,7 +1246,7 @@
Parameters:

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Response.html b/api/Response.html index 7ca4c08f62..56eddb28fc 100644 --- a/api/Response.html +++ b/api/Response.html @@ -372,7 +372,7 @@

type
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/Router.html b/api/Router.html index 8272da2b01..7b8ae76119 100644 --- a/api/Router.html +++ b/api/Router.html @@ -849,7 +849,7 @@
Example

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_context.js.html b/api/app_extend_context.js.html index 4ae0a9d05c..a971d6bec0 100644 --- a/api/app_extend_context.js.html +++ b/api/app_extend_context.js.html @@ -315,7 +315,7 @@

app/extend/context.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_helper.js.html b/api/app_extend_helper.js.html index 57e73385d5..ec2d5b4a7b 100644 --- a/api/app_extend_helper.js.html +++ b/api/app_extend_helper.js.html @@ -104,7 +104,7 @@

app/extend/helper.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_request.js.html b/api/app_extend_request.js.html index 8486d3c323..bf612831b9 100644 --- a/api/app_extend_request.js.html +++ b/api/app_extend_request.js.html @@ -327,7 +327,7 @@

app/extend/request.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/app_extend_response.js.html b/api/app_extend_response.js.html index 573a929573..d17ab10794 100644 --- a/api/app_extend_response.js.html +++ b/api/app_extend_response.js.html @@ -152,7 +152,7 @@

app/extend/response.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/config_config.default.js.html b/api/config_config.default.js.html index 7584c44d1e..324600fffe 100644 --- a/api/config_config.default.js.html +++ b/api/config_config.default.js.html @@ -413,7 +413,7 @@

config/config.default.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/config_plugin.js.html b/api/config_plugin.js.html index 4141ab1d2b..a7f129e701 100644 --- a/api/config_plugin.js.html +++ b/api/config_plugin.js.html @@ -197,7 +197,7 @@

config/plugin.js


- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html b/api/global.html index e421d80aee..b5830d45ed 100644 --- a/api/global.html +++ b/api/global.html @@ -1304,7 +1304,7 @@
Properties

- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#BaseContextClass b/api/global.html#BaseContextClass index c4f575e270..b9ba16d784 100644 --- a/api/global.html#BaseContextClass +++ b/api/global.html#BaseContextClass @@ -829,7 +829,7 @@ it's instantiated in context level,
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#Controller b/api/global.html#Controller index b5a7460bac..a7e467b4b9 100644 --- a/api/global.html#Controller +++ b/api/global.html#Controller @@ -448,7 +448,7 @@
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/global.html#Service b/api/global.html#Service index b455633303..b48c5e11e8 100644 --- a/api/global.html#Service +++ b/api/global.html#Service @@ -448,7 +448,7 @@
- Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
diff --git a/api/index.html b/api/index.html index f213f5e243..6ed4c0e2c4 100644 --- a/api/index.html +++ b/api/index.html @@ -67,7 +67,7 @@

Classes

  • Agent
    • - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/index.js.html b/api/index.js.html index c4bcc7dda5..4fee7fd380 100644 --- a/api/index.js.html +++ b/api/index.js.html @@ -120,7 +120,7 @@

      index.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_agent.js.html b/api/lib_agent.js.html index 1c92aad034..2fc7c57b92 100644 --- a/api/lib_agent.js.html +++ b/api/lib_agent.js.html @@ -146,7 +146,7 @@

      lib/agent.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_application.js.html b/api/lib_application.js.html index 1ebb507dab..fc65a88934 100644 --- a/api/lib_application.js.html +++ b/api/lib_application.js.html @@ -438,7 +438,7 @@

      lib/application.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_base_context_class.js.html b/api/lib_core_base_context_class.js.html index e10356ac93..324dfd6778 100644 --- a/api/lib_core_base_context_class.js.html +++ b/api/lib_core_base_context_class.js.html @@ -81,7 +81,7 @@

      lib/core/base_context_class.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_base_context_logger.js.html b/api/lib_core_base_context_logger.js.html index a95197b247..ef1c31adcf 100644 --- a/api/lib_core_base_context_logger.js.html +++ b/api/lib_core_base_context_logger.js.html @@ -124,7 +124,7 @@

      lib/core/base_context_logger.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_context_httpclient.js.html b/api/lib_core_context_httpclient.js.html index d2b507be85..0c5ca099de 100644 --- a/api/lib_core_context_httpclient.js.html +++ b/api/lib_core_context_httpclient.js.html @@ -89,7 +89,7 @@

      lib/core/context_httpclient.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_core_messenger.js.html b/api/lib_core_messenger.js.html index 53fc773658..04bce2160e 100644 --- a/api/lib_core_messenger.js.html +++ b/api/lib_core_messenger.js.html @@ -198,7 +198,7 @@

      lib/core/messenger.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_egg.js.html b/api/lib_egg.js.html index a4059a990d..1ce3558a25 100644 --- a/api/lib_egg.js.html +++ b/api/lib_egg.js.html @@ -493,7 +493,7 @@

      lib/egg.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_context.jsdoc.html b/api/lib_jsdoc_context.jsdoc.html index 54e70a0090..55b3205526 100644 --- a/api/lib_jsdoc_context.jsdoc.html +++ b/api/lib_jsdoc_context.jsdoc.html @@ -103,7 +103,7 @@

      lib/jsdoc/context.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_request.jsdoc.html b/api/lib_jsdoc_request.jsdoc.html index e78f77909a..bf9f95d3d8 100644 --- a/api/lib_jsdoc_request.jsdoc.html +++ b/api/lib_jsdoc_request.jsdoc.html @@ -109,7 +109,7 @@

      lib/jsdoc/request.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_jsdoc_response.jsdoc.html b/api/lib_jsdoc_response.jsdoc.html index 6dd50993e2..1dd437d388 100644 --- a/api/lib_jsdoc_response.jsdoc.html +++ b/api/lib_jsdoc_response.jsdoc.html @@ -66,7 +66,7 @@

      lib/jsdoc/response.jsdoc


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_loader_agent_worker_loader.js.html b/api/lib_loader_agent_worker_loader.js.html index 0b72d18371..85cdb8f0fa 100644 --- a/api/lib_loader_agent_worker_loader.js.html +++ b/api/lib_loader_agent_worker_loader.js.html @@ -86,7 +86,7 @@

      lib/loader/agent_worker_loader.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/lib_loader_app_worker_loader.js.html b/api/lib_loader_app_worker_loader.js.html index 6ca7ae8758..b83394a45e 100644 --- a/api/lib_loader_app_worker_loader.js.html +++ b/api/lib_loader_app_worker_loader.js.html @@ -107,7 +107,7 @@

      lib/loader/app_worker_loader.js


      - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
      diff --git a/api/node_modules__egg-development@2.3.1@egg-development_agent.js.html b/api/node_modules__egg-development@2.4.1@egg-development_agent.js.html similarity index 99% rename from api/node_modules__egg-development@2.3.1@egg-development_agent.js.html rename to api/node_modules__egg-development@2.4.1@egg-development_agent.js.html index f79b9ff1c1..3be5b782b9 100644 --- a/api/node_modules__egg-development@2.3.1@egg-development_agent.js.html +++ b/api/node_modules__egg-development@2.4.1@egg-development_agent.js.html @@ -2,7 +2,7 @@ - node_modules/_egg-development@2.3.1@egg-development/agent.js - Documentation + node_modules/_egg-development@2.4.1@egg-development/agent.js - Documentation @@ -39,7 +39,7 @@

      Classes

      • Agent
        • -

          node_modules/_egg-development@2.3.1@egg-development/agent.js

          +

          node_modules/_egg-development@2.4.1@egg-development/agent.js

          @@ -68,6 +68,7 @@

          node_modules/_egg-development@2.3.1@egg-development/agent 'config', 'mocks', 'mocks_proxy', + 'app.js', ]; watchDirs = watchDirs.concat(config.watchDirs).map(dir => path.join(baseDir, dir)); @@ -146,7 +147,7 @@

          node_modules/_egg-development@2.3.1@egg-development/agent
          - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
          diff --git a/api/node_modules__egg-development@2.3.1@egg-development_config_config.default.js.html b/api/node_modules__egg-development@2.4.1@egg-development_config_config.default.js.html similarity index 99% rename from api/node_modules__egg-development@2.3.1@egg-development_config_config.default.js.html rename to api/node_modules__egg-development@2.4.1@egg-development_config_config.default.js.html index 5f16c0aa06..c8558f1d4a 100644 --- a/api/node_modules__egg-development@2.3.1@egg-development_config_config.default.js.html +++ b/api/node_modules__egg-development@2.4.1@egg-development_config_config.default.js.html @@ -2,7 +2,7 @@ - node_modules/_egg-development@2.3.1@egg-development/config/config.default.js - Documentation + node_modules/_egg-development@2.4.1@egg-development/config/config.default.js - Documentation @@ -39,7 +39,7 @@

          Classes

          • Agent
            • -

              node_modules/_egg-development@2.3.1@egg-development/config/config.default.js

              +

              node_modules/_egg-development@2.4.1@egg-development/config/config.default.js

              @@ -80,7 +80,7 @@

              node_modules/_egg-development@2.3.1@egg-development/confi
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html index 5e3d2e4531..26218a8b97 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app.js.html @@ -199,7 +199,7 @@

              node_modules/_egg-i18n@2.0.0@egg-i18n/app.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html index 309643ae79..4d722b0dba 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_app_extend_context.js.html @@ -73,7 +73,7 @@

              node_modules/_egg-i18n@2.0.0@egg-i18n/app/extend/context.
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html b/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html index 34d99e8d8a..056d4bcc2b 100644 --- a/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html +++ b/api/node_modules__egg-i18n@2.0.0@egg-i18n_config_config.default.js.html @@ -89,7 +89,7 @@

              node_modules/_egg-i18n@2.0.0@egg-i18n/config/config.defau
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html index ccc70c27b3..b18334532b 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_application.js.html @@ -174,7 +174,7 @@

              node_modules/_egg-jsonp@2.0.0@egg-jsonp/app/extend/applic
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html index ac038e337c..4c2f8c8629 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_app_extend_context.js.html @@ -95,7 +95,7 @@

              node_modules/_egg-jsonp@2.0.0@egg-jsonp/app/extend/contex
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html index cc3a2a159f..2f03d89938 100644 --- a/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html +++ b/api/node_modules__egg-jsonp@2.0.0@egg-jsonp_config_config.default.js.html @@ -77,7 +77,7 @@

              node_modules/_egg-jsonp@2.0.0@egg-jsonp/config/config.def
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-logrotator@3.0.3@egg-logrotator_config_config.default.js.html b/api/node_modules__egg-logrotator@3.0.3@egg-logrotator_config_config.default.js.html index 3fa032c6c4..6910ab5bbc 100644 --- a/api/node_modules__egg-logrotator@3.0.3@egg-logrotator_config_config.default.js.html +++ b/api/node_modules__egg-logrotator@3.0.3@egg-logrotator_config_config.default.js.html @@ -86,7 +86,7 @@

              node_modules/_egg-logrotator@3.0.3@egg-logrotator/config/
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-multipart@2.0.0@egg-multipart_app_extend_context.js.html b/api/node_modules__egg-multipart@2.0.0@egg-multipart_app_extend_context.js.html index 06b4358439..82a454972c 100644 --- a/api/node_modules__egg-multipart@2.0.0@egg-multipart_app_extend_context.js.html +++ b/api/node_modules__egg-multipart@2.0.0@egg-multipart_app_extend_context.js.html @@ -122,7 +122,7 @@

              node_modules/_egg-multipart@2.0.0@egg-multipart/app/exten
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-multipart@2.0.0@egg-multipart_config_config.default.js.html b/api/node_modules__egg-multipart@2.0.0@egg-multipart_config_config.default.js.html index 9cd5ac4531..0e8f213a94 100644 --- a/api/node_modules__egg-multipart@2.0.0@egg-multipart_config_config.default.js.html +++ b/api/node_modules__egg-multipart@2.0.0@egg-multipart_config_config.default.js.html @@ -88,7 +88,7 @@

              node_modules/_egg-multipart@2.0.0@egg-multipart/config/co
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-schedule@3.3.0@egg-schedule_app_extend_agent.js.html b/api/node_modules__egg-schedule@3.3.0@egg-schedule_app_extend_agent.js.html index 0bd3d978f4..796a6d1e6e 100644 --- a/api/node_modules__egg-schedule@3.3.0@egg-schedule_app_extend_agent.js.html +++ b/api/node_modules__egg-schedule@3.3.0@egg-schedule_app_extend_agent.js.html @@ -102,7 +102,7 @@

              node_modules/_egg-schedule@3.3.0@egg-schedule/app/extend/
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-security@2.2.3@egg-security_app_extend_context.js.html b/api/node_modules__egg-security@2.2.3@egg-security_app_extend_context.js.html index 6461f1dbd4..fe6a88d1db 100644 --- a/api/node_modules__egg-security@2.2.3@egg-security_app_extend_context.js.html +++ b/api/node_modules__egg-security@2.2.3@egg-security_app_extend_context.js.html @@ -221,7 +221,7 @@

              node_modules/_egg-security@2.2.3@egg-security/app/extend/
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-security@2.2.3@egg-security_config_config.default.js.html b/api/node_modules__egg-security@2.2.3@egg-security_config_config.default.js.html index 0335835a97..879bb5fbc6 100644 --- a/api/node_modules__egg-security@2.2.3@egg-security_config_config.default.js.html +++ b/api/node_modules__egg-security@2.2.3@egg-security_config_config.default.js.html @@ -158,7 +158,7 @@

              node_modules/_egg-security@2.2.3@egg-security/config/conf
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html b/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html index 389e10c6dc..695356353d 100644 --- a/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html +++ b/api/node_modules__egg-session@3.1.0@egg-session_app_extend_application.js.html @@ -116,7 +116,7 @@

              node_modules/_egg-session@3.1.0@egg-session/app/extend/ap
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-static@2.1.1@egg-static_config_config.default.js.html b/api/node_modules__egg-static@2.1.1@egg-static_config_config.default.js.html index 49796f7400..a77d685f2b 100644 --- a/api/node_modules__egg-static@2.1.1@egg-static_config_config.default.js.html +++ b/api/node_modules__egg-static@2.1.1@egg-static_config_config.default.js.html @@ -88,7 +88,7 @@

              node_modules/_egg-static@2.1.1@egg-static/config/config.d
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-view@2.1.0@egg-view_app_extend_application.js.html b/api/node_modules__egg-view@2.1.0@egg-view_app_extend_application.js.html index 6cf237fc51..de2c0864f6 100644 --- a/api/node_modules__egg-view@2.1.0@egg-view_app_extend_application.js.html +++ b/api/node_modules__egg-view@2.1.0@egg-view_app_extend_application.js.html @@ -78,7 +78,7 @@

              node_modules/_egg-view@2.1.0@egg-view/app/extend/applicat
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-view@2.1.0@egg-view_app_extend_context.js.html b/api/node_modules__egg-view@2.1.0@egg-view_app_extend_context.js.html index 46d02365bd..a046343f01 100644 --- a/api/node_modules__egg-view@2.1.0@egg-view_app_extend_context.js.html +++ b/api/node_modules__egg-view@2.1.0@egg-view_app_extend_context.js.html @@ -107,7 +107,7 @@

              node_modules/_egg-view@2.1.0@egg-view/app/extend/context.
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-view@2.1.0@egg-view_config_config.default.js.html b/api/node_modules__egg-view@2.1.0@egg-view_config_config.default.js.html index 219822970a..5ae86468c4 100644 --- a/api/node_modules__egg-view@2.1.0@egg-view_config_config.default.js.html +++ b/api/node_modules__egg-view@2.1.0@egg-view_config_config.default.js.html @@ -83,7 +83,7 @@

              node_modules/_egg-view@2.1.0@egg-view/config/config.defau
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules__egg-watcher@3.0.0@egg-watcher_config_config.default.js.html b/api/node_modules__egg-watcher@3.0.0@egg-watcher_config_config.default.js.html index a05c2cd2d2..f81f047c0f 100644 --- a/api/node_modules__egg-watcher@3.0.0@egg-watcher_config_config.default.js.html +++ b/api/node_modules__egg-watcher@3.0.0@egg-watcher_config_config.default.js.html @@ -77,7 +77,7 @@

              node_modules/_egg-watcher@3.0.0@egg-watcher/config/config
              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_egg.js.html b/api/node_modules_egg-core_lib_egg.js.html index e0238ee146..1d1acb1d0e 100644 --- a/api/node_modules_egg-core_lib_egg.js.html +++ b/api/node_modules_egg-core_lib_egg.js.html @@ -447,7 +447,7 @@

              node_modules/egg-core/lib/egg.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_context_loader.js.html b/api/node_modules_egg-core_lib_loader_context_loader.js.html index 31f4dd4525..0bb3840caf 100644 --- a/api/node_modules_egg-core_lib_loader_context_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_context_loader.js.html @@ -166,7 +166,7 @@

              node_modules/egg-core/lib/loader/context_loader.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_egg_loader.js.html b/api/node_modules_egg-core_lib_loader_egg_loader.js.html index d4ce1905a2..5697d5fc61 100644 --- a/api/node_modules_egg-core_lib_loader_egg_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_egg_loader.js.html @@ -529,7 +529,7 @@

              node_modules/egg-core/lib/loader/egg_loader.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_file_loader.js.html b/api/node_modules_egg-core_lib_loader_file_loader.js.html index 883141f103..8f37a2bf96 100644 --- a/api/node_modules_egg-core_lib_loader_file_loader.js.html +++ b/api/node_modules_egg-core_lib_loader_file_loader.js.html @@ -318,7 +318,7 @@

              node_modules/egg-core/lib/loader/file_loader.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_config.js.html b/api/node_modules_egg-core_lib_loader_mixin_config.js.html index 80efde00b2..35daf3cc3f 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_config.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_config.js.html @@ -174,7 +174,7 @@

              node_modules/egg-core/lib/loader/mixin/config.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_controller.js.html b/api/node_modules_egg-core_lib_loader_mixin_controller.js.html index a79ff682bf..f0ccd5b17a 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_controller.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_controller.js.html @@ -183,7 +183,7 @@

              node_modules/egg-core/lib/loader/mixin/controller.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_custom.js.html b/api/node_modules_egg-core_lib_loader_mixin_custom.js.html index 2674ec2da6..d8e45fc2d2 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_custom.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_custom.js.html @@ -102,7 +102,7 @@

              node_modules/egg-core/lib/loader/mixin/custom.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_extend.js.html b/api/node_modules_egg-core_lib_loader_mixin_extend.js.html index 5ae1b08706..5afc94ced4 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_extend.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_extend.js.html @@ -212,7 +212,7 @@

              node_modules/egg-core/lib/loader/mixin/extend.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html b/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html index e6896ff7f4..71e679e911 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_middleware.js.html @@ -173,7 +173,7 @@

              node_modules/egg-core/lib/loader/mixin/middleware.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html b/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html index 650154cf8a..21470b75d5 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_plugin.js.html @@ -457,7 +457,7 @@

              node_modules/egg-core/lib/loader/mixin/plugin.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_router.js.html b/api/node_modules_egg-core_lib_loader_mixin_router.js.html index 7f5cb0f01b..8d3084adcc 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_router.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_router.js.html @@ -81,7 +81,7 @@

              node_modules/egg-core/lib/loader/mixin/router.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_loader_mixin_service.js.html b/api/node_modules_egg-core_lib_loader_mixin_service.js.html index 93f4504bf6..56ccf625f1 100644 --- a/api/node_modules_egg-core_lib_loader_mixin_service.js.html +++ b/api/node_modules_egg-core_lib_loader_mixin_service.js.html @@ -89,7 +89,7 @@

              node_modules/egg-core/lib/loader/mixin/service.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_utils_base_context_class.js.html b/api/node_modules_egg-core_lib_utils_base_context_class.js.html index 35096701be..6810f21516 100644 --- a/api/node_modules_egg-core_lib_utils_base_context_class.js.html +++ b/api/node_modules_egg-core_lib_utils_base_context_class.js.html @@ -100,7 +100,7 @@

              node_modules/egg-core/lib/utils/base_context_class.js

              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_utils_index.js.html b/api/node_modules_egg-core_lib_utils_index.js.html index a4ad1a097d..bad0153423 100644 --- a/api/node_modules_egg-core_lib_utils_index.js.html +++ b/api/node_modules_egg-core_lib_utils_index.js.html @@ -152,7 +152,7 @@

              node_modules/egg-core/lib/utils/index.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/api/node_modules_egg-core_lib_utils_router.js.html b/api/node_modules_egg-core_lib_utils_router.js.html index 43106c395b..f0a87207a5 100644 --- a/api/node_modules_egg-core_lib_utils_router.js.html +++ b/api/node_modules_egg-core_lib_utils_router.js.html @@ -388,7 +388,7 @@

              node_modules/egg-core/lib/utils/router.js


              - Documentation generated by JSDoc 3.5.5 on Sat Jul 28 2018 10:27:44 GMT+0000 (UTC) using the Minami theme. + Documentation generated by JSDoc 3.5.5 on Mon Aug 06 2018 09:48:32 GMT+0000 (UTC) using the Minami theme.
              diff --git a/en/tutorials/restful.html b/en/tutorials/restful.html index e484efec78..7f08c3e927 100644 --- a/en/tutorials/restful.html +++ b/en/tutorials/restful.html @@ -108,7 +108,7 @@

              #Mapping the 'topics' resource's CRUD interfaces to the app/controller/topics.js using app.resources

              # Developing controller

              In controller, we only need to implement the interface convention of app.resources RESTful style URL definition. For example, creating a 'topics' interface:

              -
              // app/controller/topics.js
              const Controller = require('egg').Controller;

              // defining the rule of request parameters
              const createRule = {
              accesstoken: 'string',
              title: 'string',
              tab: { type: 'enum', values: [ 'ask', 'share', 'job' ], required: false },
              content: 'string',
              };

              class TopicController extends Controller {
              async create() {
              const ctx = this.ctx;
              // validate the `ctx.request.body` with the expected format
              // status = 422 exception will be thrown if not passing the parameter validation
              ctx.validate(createRule);
              // call service to create a topic
              const id = await ctx.service.topics.create(ctx.request.body);
              // configure the response body and status code
              ctx.body = {
              topic_id: id,
              };
              ctx.status = 201;
              }
              }
              module.exports = TopicController;
              +
              // app/controller/topics.js
              const Controller = require('egg').Controller;

              // defining the rule of request parameters
              const createRule = {
              accesstoken: 'string',
              title: 'string',
              tab: { type: 'enum', values: [ 'ask', 'share', 'job' ], required: false },
              content: 'string',
              };

              class TopicController extends Controller {
              async create() {
              const ctx = this.ctx;
              // validate the `ctx.request.body` with the expected format
              // status = 422 exception will be thrown if not passing the parameter validation
              ctx.validate(createRule, ctx.request.body);
              // call service to create a topic
              const id = await ctx.service.topics.create(ctx.request.body);
              // configure the response body and status code
              ctx.body = {
              topic_id: id,
              };
              ctx.status = 201;
              }
              }
              module.exports = TopicController;

              As shown above, a Controller mainly implements the following logic:

              1. call the validate function to validate the request parameters
              2. diff --git a/zh-cn/tutorials/restful.html b/zh-cn/tutorials/restful.html index 76d557f754..1e4d7a640d 100644 --- a/zh-cn/tutorials/restful.html +++ b/zh-cn/tutorials/restful.html @@ -107,7 +107,7 @@

                #

                通过 app.resources 方法,我们将 topics 这个资源的增删改查接口映射到了 app/controller/topics.js 文件。

                # controller 开发

                controller 中,我们只需要实现 app.resources 约定的 RESTful 风格的 URL 定义 中我们需要提供的接口即可。例如我们来实现创建一个 topics 的接口:

                -
                // app/controller/topics.js
                const Controller = require('egg').Controller;

                // 定义创建接口的请求参数规则
                const createRule = {
                accesstoken: 'string',
                title: 'string',
                tab: { type: 'enum', values: [ 'ask', 'share', 'job' ], required: false },
                content: 'string',
                };

                class TopicController extends Controller {
                async create() {
                const ctx = this.ctx;
                // 校验 `ctx.request.body` 是否符合我们预期的格式
                // 如果参数校验未通过,将会抛出一个 status = 422 的异常
                ctx.validate(createRule);
                // 调用 service 创建一个 topic
                const id = await ctx.service.topics.create(ctx.request.body);
                // 设置响应体和状态码
                ctx.body = {
                topic_id: id,
                };
                ctx.status = 201;
                }
                }
                module.exports = TopicController;
                +
                // app/controller/topics.js
                const Controller = require('egg').Controller;

                // 定义创建接口的请求参数规则
                const createRule = {
                accesstoken: 'string',
                title: 'string',
                tab: { type: 'enum', values: [ 'ask', 'share', 'job' ], required: false },
                content: 'string',
                };

                class TopicController extends Controller {
                async create() {
                const ctx = this.ctx;
                // 校验 `ctx.request.body` 是否符合我们预期的格式
                // 如果参数校验未通过,将会抛出一个 status = 422 的异常
                ctx.validate(createRule, ctx.request.body);
                // 调用 service 创建一个 topic
                const id = await ctx.service.topics.create(ctx.request.body);
                // 设置响应体和状态码
                ctx.body = {
                topic_id: id,
                };
                ctx.status = 201;
                }
                }
                module.exports = TopicController;

                如同注释中说明的,一个 Controller 主要实现了下面的逻辑:

                1. 调用 validate 方法对请求参数进行验证。