Showing
1 changed file
with
3 additions
and
5 deletions
@@ -348,11 +348,9 @@ exports.verifystudent = (req, res, next) => { | @@ -348,11 +348,9 @@ exports.verifystudent = (req, res, next) => { | ||
348 | prompt = '您的学校信息未通过审核'; | 348 | prompt = '您的学校信息未通过审核'; |
349 | 349 | ||
350 | if (datas[2].code === 200) { | 350 | if (datas[2].code === 200) { |
351 | - if (datas[2].code === 200) { | ||
352 | - if (datas[2].data.isStudent === 1) { | ||
353 | - isverify = true; | ||
354 | - prompt = datas[2].data.prompt; | ||
355 | - } | 351 | + if (datas[2].data.isStudent === 1) { |
352 | + isverify = true; | ||
353 | + prompt = datas[2].data.prompt; | ||
356 | } else { | 354 | } else { |
357 | prompt = datas[2].message; | 355 | prompt = datas[2].message; |
358 | } | 356 | } |
-
Please register or login to post a comment