mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
移除console.log
This commit is contained in:
@@ -61,7 +61,6 @@ export default (app: Router) => {
|
||||
const logger: Logger = Container.get('logger');
|
||||
try {
|
||||
const cookieService = Container.get(CookieService);
|
||||
console.log(req);
|
||||
const data = await cookieService.refreshCookie(req.body);
|
||||
return res.send({ code: 200, data });
|
||||
} catch (e) {
|
||||
|
||||
@@ -63,7 +63,6 @@ export default class CookieService {
|
||||
if (this.cookies == '') {
|
||||
return '';
|
||||
}
|
||||
console.log(this.cookies);
|
||||
let timeStamp = new Date().getTime();
|
||||
let url =
|
||||
'https://plogin.m.jd.com/cgi-bin/m/tmauthreflogurl?s_token=' +
|
||||
@@ -153,9 +152,6 @@ export default class CookieService {
|
||||
s_pin +
|
||||
'; wq_skey=';
|
||||
var userCookie = 'pt_key=' + pt_key + ';pt_pin=' + pt_pin + ';';
|
||||
console.log('\n############ 登录成功,获取到 Cookie #############\n\n');
|
||||
console.log('Cookie1="' + userCookie + '"\n');
|
||||
console.log('\n####################################################\n\n');
|
||||
return userCookie;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user