Authored by 王水玲

上下文

@@ -32,16 +32,6 @@ module.exports = () => { @@ -32,16 +32,6 @@ module.exports = () => {
32 } 32 }
33 } 33 }
34 34
35 - // 调用接口传参时切勿使用toString获得字符串  
36 - req.user.uid = {  
37 - toString: () => {  
38 - return _.parseInt(req.cookies.app_uid) || '51477204';  
39 - },  
40 - sessionKey: req.cookies.app_session_key || 'bbdacfc9b5b3db47e7d879871cec4d0e',  
41 - appVersion: req.cookies.app_version || req.query.app_version || config.appVersion,  
42 - appSessionType: req.cookies.app_client_type  
43 - };  
44 -  
45 delete req.query.app_version; 35 delete req.query.app_version;
46 delete req.query.client_secret; 36 delete req.query.client_secret;
47 delete req.query.client_type; 37 delete req.query.client_type;