Authored by lijing

app获取uid的bug

... ... @@ -70,7 +70,7 @@ exports.school = (req, res, next) => {
exports.checkStudent = (req, res, next) => {
let params = {
uid: req.user.uid
uid: req.query.uid || req.user.uid,
};
indexModel.checkStudent(params).then((result) => {
... ...