...
|
...
|
@@ -78,12 +78,14 @@ const logger = require('./library/logger'); |
|
|
|
|
|
// dispatcher
|
|
|
try {
|
|
|
const mobileCheck = require('./doraemon/middleware/mobile-check');
|
|
|
const user = require('./doraemon/middleware/user');
|
|
|
const seo = require('./doraemon/middleware/seo');
|
|
|
const setYohoData = require('./doraemon/middleware/set-yoho-data');
|
|
|
const errorHanlder = require('./doraemon/middleware/error-handler');
|
|
|
|
|
|
// YOHO 前置中间件
|
|
|
app.use(mobileCheck());
|
|
|
app.use(setYohoData());
|
|
|
app.use(user());
|
|
|
app.use(seo());
|
...
|
...
|
|