Authored by 郭成尧

code-comment

... ... @@ -13,6 +13,9 @@ const indexModel = require('../models/brand');
const typeLib = require('../../../config/type-lib');
const qs = require('querystring');
/**
* 从 path 获取 channel
*/
const _getChannelFromPath = (req) => {
let pathWithoutParams = _.trimEnd(_.first(_.split(req.path, '?')), '/');
let pathLast = _.last(_.split(pathWithoutParams, '/'));
... ...