...
|
...
|
@@ -86,12 +86,14 @@ try { |
|
|
const seo = require('./doraemon/middleware/seo');
|
|
|
const setYohoData = require('./doraemon/middleware/set-yoho-data');
|
|
|
const errorHanlder = require('./doraemon/middleware/error-handler');
|
|
|
const setPageInfo = require('./doraemon/middleware/set-pageinfo');
|
|
|
|
|
|
// YOHO 前置中间件
|
|
|
app.use(mobileCheck());
|
|
|
app.use(setYohoData());
|
|
|
app.use(user());
|
|
|
app.use(seo());
|
|
|
app.use(setPageInfo());
|
|
|
|
|
|
require('./dispatch')(app);
|
|
|
|
...
|
...
|
|