Authored by lijing

删除UID

... ... @@ -98,7 +98,7 @@ exports.record = (req, res) => {
* @param next
*/
exports.recordContent = (req, res, next) => {
let uid = req.user.uid || 6228593;
let uid = req.user.uid;
let udid = req.user.udid;
... ... @@ -156,7 +156,7 @@ exports.grade = (req, res, next) => {
};
indexModel.getGrade({
uid: req.user.uid || 8039759,
uid: req.user.uid,
channel: req.query.channel || 1
}).then((result) => {
res.render('vip-grade/vip-grade', Object.assign(result, responseData));
... ... @@ -186,7 +186,7 @@ exports.preferential = (req, res, next) => {
};
indexModel.getPreferential({
uid: req.user.uid || 8039759,
uid: req.user.uid,
channel: req.query.channel || 1
}).then((result) => {
res.render('vip-grade/privilege', Object.assign(result, responseData));
... ...
... ... @@ -221,7 +221,7 @@ const delRecord = (uid, skn) => {
const getGradeGrade = (channel, uid) => {
return api.get('', {
method: 'app.passport.vip',
uid: uid || 6228593,
uid: uid,
channel: channel || 1
}, {code: 200});
};
... ... @@ -229,7 +229,7 @@ const getGradeGrade = (channel, uid) => {
const getGradeUser = (channel, uid) => {
return api.get('', {
method: 'app.passport.profile',
uid: uid || 6228593,
uid: uid,
channel: channel || 1
}, {code: 200});
};
... ... @@ -337,7 +337,7 @@ const getPreferential = (uid, channel) => {
return api.get('', {
method: 'app.passport.getPrivilege',
uid: uid || 6228593,
uid: uid,
channel: channel || 1
}, {code: 200}).then((result) => {
... ...