require('source-map-support/register')
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // identity function for calling harmony imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ }
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 20);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(19);
/***/ },
/* 1 */
/***/ function(module, exports) {
module.exports = require("fs");
/***/ },
/* 2 */
/***/ function(module, exports) {
module.exports = require("cheerio");
/***/ },
/* 3 */
/***/ function(module, exports) {
module.exports = require("path");
/***/ },
/* 4 */
/***/ function(module, exports) {
module.exports = require("request-promise");
/***/ },
/* 5 */
/***/ function(module, exports) {
module.exports = require("iconv");
/***/ },
/* 6 */
/***/ function(module, exports) {
module.exports = {
/*
** Headers of the page
*/
head: {
title: 'starter',
meta: [{ charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, { hid: 'description', name: 'description', content: 'story' }],
link: [{ rel: 'icon', type: 'image/x-icon', href: 'http://222.178.203.72:19005/whst/63/=cnvmknZczbrcmzmds//favicon.ico' }]
},
plugins: [{
src: 'plugins/lazylod.js',
ssr: false
}],
/*
** Global CSS
*/
css: ['~static/css/main.css'],
/*
** Customize the progress-bar color
*/
loading: { color: '#3B8070' }
};
/***/ },
/* 7 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_koa_router__ = __webpack_require__(18);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_koa_router___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_koa_router__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__controllers_story__ = __webpack_require__(13);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__controllers_word__ = __webpack_require__(14);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__controllers_appreciate__ = __webpack_require__(12);
/**
* @file
* @author 何文林
* @date 2017/9/16
*/
var router = function router(app) {
var router = new __WEBPACK_IMPORTED_MODULE_0_koa_router___default.a();
// story
router.get('/api/hero', __WEBPACK_IMPORTED_MODULE_1__controllers_story__["a" /* default */].fetchHeroList);
router.post('/api/heroDetail', __WEBPACK_IMPORTED_MODULE_1__controllers_story__["a" /* default */].fetchHeroDetail);
// word
router.get('/api/word', __WEBPACK_IMPORTED_MODULE_2__controllers_word__["a" /* default */].fetchWord);
router.get('/api/wordNav', __WEBPACK_IMPORTED_MODULE_2__controllers_word__["a" /* default */].fetchWordNav);
router.post('/api/wordDetail', __WEBPACK_IMPORTED_MODULE_2__controllers_word__["a" /* default */].fetchWordDetail);
// 鉴赏
router.get('/api/skin', __WEBPACK_IMPORTED_MODULE_3__controllers_appreciate__["a" /* default */].fetchSkin);
router.get('/api/voiceNav', __WEBPACK_IMPORTED_MODULE_3__controllers_appreciate__["a" /* default */].fetchVoiceNav);
router.get('/api/voiceDetail', __WEBPACK_IMPORTED_MODULE_3__controllers_appreciate__["a" /* default */].fetchVoiceDetail);
router.get('/api/music', __WEBPACK_IMPORTED_MODULE_3__controllers_appreciate__["a" /* default */].fetchMusic);
app.use(router.routes());
app.use(router.allowedMethods());
};
/* harmony default export */ exports["a"] = router;
/***/ },
/* 8 */
/***/ function(module, exports) {
module.exports = require("koa");
/***/ },
/* 9 */
/***/ function(module, exports) {
module.exports = require("koa-bodyparser");
/***/ },
/* 10 */
/***/ function(module, exports) {
module.exports = require("nuxt");
/***/ },
/* 11 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
var wordNavUrl = {
'482175': {
url1: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24883/24901/m15567/list_1.shtml',
url2: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24883/24902/m15565/list_1.shtml'
},
'482168': {
url1: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24882/24899/m15567/list_1.shtml',
url2: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24882/24900/m15565/list_1.shtml'
},
'482154': {
url1: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24881/24897/m15567/list_1.shtml',
url2: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24881/24898/m15565/list_1.shtml'
},
'482143': {
url1: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24880/24895/m15567/list_1.shtml',
url2: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24880/24896/m15565/list_1.shtml'
},
'482129': {
url1: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24879/24893/m15567/list_1.shtml',
url2: 'https://pvp.qq.com//webplat/info/news_version3/15592/18024/23901/24878/24879/24894/m15565/list_1.shtml'
}
};
/* harmony default export */ exports["a"] = wordNavUrl;
/***/ },
/* 12 */
/***/ function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(__dirname) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Users_naihe_my_project_wangzhe_crawler_node_modules_babel_runtime_regenerator__ = __webpack_require__(0);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Users_naihe_my_project_wangzhe_crawler_node_modules_babel_runtime_regenerator___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__Users_naihe_my_project_wangzhe_crawler_node_modules_babel_run