...
|
...
|
@@ -5,7 +5,7 @@ const recommendForYouModel = require(`${mRoot}/recommend-for-you`); // 领取优 |
|
|
const _ = require('lodash');
|
|
|
|
|
|
exports.userCenter = (req, res, next) => {
|
|
|
var udid = 'wap',
|
|
|
var udid = req.sessionID,
|
|
|
uid = _.isEmpty(req.user.uid) ? null : req.user.uid,
|
|
|
yhChannel = req.query.yh_channel || '1',
|
|
|
limit = 30;
|
...
|
...
|
@@ -31,7 +31,7 @@ exports.userCenter = (req, res, next) => { |
|
|
};
|
|
|
|
|
|
exports.cart = (req, res, next) => {
|
|
|
var udid = 'wap',
|
|
|
var udid = req.sessionID,
|
|
|
uid = _.isEmpty(req.user.uid) ? null : req.user.uid,
|
|
|
yhChannel = req.query.yh_channel || '1',
|
|
|
limit = 30;
|
...
|
...
|
|