mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
移除console.log
This commit is contained in:
parent
a2510d6763
commit
041479443e
|
@ -7,9 +7,6 @@ import {
|
|||
} from '@ant-design/icons';
|
||||
|
||||
export default defineConfig({
|
||||
antd: {
|
||||
compact: true,
|
||||
},
|
||||
hash: true,
|
||||
layout: false,
|
||||
locale: {},
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ export default {
|
|||
pathname: '/',
|
||||
},
|
||||
fixSiderbar: true,
|
||||
navTheme: 'light',
|
||||
contentWidth: 'Fixed',
|
||||
splitMenus: false,
|
||||
logo: logo,
|
||||
|
|
Loading…
Reference in New Issue
Block a user