code: function resolve(dir, model = null) {
  
      // 解析模块
      try {
          let data = require(path.cwd(dir));
          return model && data ? { ...model, ...data } : data;
      } catch (err) {
          // do nothing;
      }
  
      // 执行回调
      return model;
  }
docs: ****************************************
  加载并解析模块
  ****************************************