Authored by 毕凯

协议

... ... @@ -8,7 +8,7 @@ exports.index = (req, res, next) => {
let activityId = req.query.act_id || 2023,
isApp = req.yoho.isApp,
uid = req.user.uid,
protocol = req.protocol ? req.protocol + ':' : 'http:';
protocol = req.app.locals.isProduction ? 'https:' : 'http:';
co(function* () {
let isStudent = yield req.ctx(shareBuyModel).checkStudent(uid);
... ...