...
|
...
|
@@ -333,6 +333,11 @@ exports.verifyidentity = (req, res, next) => { |
|
|
let uid = req.__USER__.uid;
|
|
|
|
|
|
verifyIdentity(uid, params.cert_no, params.name, url).then((result) => {
|
|
|
if (req.___USER__.isApp) {
|
|
|
if (+result.code === 200) {
|
|
|
result.data = result.data + '&uid=' + uid;
|
|
|
}
|
|
|
}
|
|
|
res.json(result);
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
|