Authored by 姜枫

Merge branch 'master' into release/node-gzip

... ... @@ -328,15 +328,15 @@ exports.school = (req, res, next) => {
exports.verifyidentity = (req, res, next) => {
// let uid=req.user.id;
let params = req.body;
let uid = req.__USER__.uid;
let url = 'http://m.yohobuy.com/activity/student/verify?' +
queryString.stringify({
college_name: params.college_name,
education_degree: params.education_degree,
enrollment_year: params.enrollment_year
enrollment_year: params.enrollment_year,
uid: req.__USER__.isApp ? uid : '',
}) + '&';
let uid = req.__USER__.uid;
verifyIdentity(uid, params.cert_no, params.name, url).then((result) => {
res.json(result);
}).catch(next);
... ...