Authored by 陈峰

解决个人中心二维码无法扫码问题

@@ -9,8 +9,8 @@ exports.getQr = (params) => { @@ -9,8 +9,8 @@ exports.getQr = (params) => {
9 9
10 try { 10 try {
11 uid = crypto.decrypt(PASSWORD, decodeURIComponent(params.token)); 11 uid = crypto.decrypt(PASSWORD, decodeURIComponent(params.token));
  12 + uid = parseInt(uid, 10)
12 } catch (e) { 13 } catch (e) {
13 - console.error(e);  
14 uid = params.token; 14 uid = params.token;
15 } 15 }
16 16