docs: function(config, http, logger){
          this.Config = config;
          this.http = http;
          this.logger = logger;
  
          // 绑定请求
          var urlPath = http.request.url.pathname;
  
          logger.info("收到请求:" + urlPath + " | 参数:" + JSON.stringify(http.params));
  
          if (urlPath.indexOf('.') > -1)
          {
              logger.warn("错误的接口地址:" + urlPath);
              this.out({message:"错误的请求"});
              return;
          }
          var infPath = path.join(config.path.root, config.path.controller, urlPath + ".js");
  
          // 传入的沙箱对象
          var sandbox = {
              Lay: this
          };
  
          var that = this;
          fs.exists(infPath, function(exsist){
              if (exsist)
              {
                  fs.readFile(infPath, function(err, data){
                      // 进入沙箱执行
                      vm.runInNewContext(data, sandbox, 'myfile.vm');
                  });
              }
              else
              {
                  logger.warn("未找到接口文件:" + infPath);
                  that.out({message:"错误的请求"});
              }
          });
      }