Showing
1 changed file
with
5 additions
and
0 deletions
@@ -333,6 +333,11 @@ exports.verifyidentity = (req, res, next) => { | @@ -333,6 +333,11 @@ exports.verifyidentity = (req, res, next) => { | ||
333 | let uid = req.__USER__.uid; | 333 | let uid = req.__USER__.uid; |
334 | 334 | ||
335 | verifyIdentity(uid, params.cert_no, params.name, url).then((result) => { | 335 | verifyIdentity(uid, params.cert_no, params.name, url).then((result) => { |
336 | + if (req.___USER__.isApp) { | ||
337 | + if (+result.code === 200) { | ||
338 | + result.data = result.data + '&uid=' + uid; | ||
339 | + } | ||
340 | + } | ||
336 | res.json(result); | 341 | res.json(result); |
337 | }).catch(next); | 342 | }).catch(next); |
338 | }; | 343 | }; |
-
Please register or login to post a comment