Skip to content

Commit

Permalink
Update 10010.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tanyewei authored Jun 6, 2023
1 parent b629f8b commit 95c849e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 10010.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ https:\/\/m\.client\.10010\.com\/mobileserviceimportant\/smart\/smartwisdomCommo

const APIKey = 'YaYa_10010';
$ = new API(APIKey, true);
$.notify('中国联通','cookie 写入成功666');
if ($request) GetCookie();

function GetCookie() {
if ($request.url.indexOf('smartwisdomCommon') > -1) {
const cookie = $request.headers.Cookie;
const cookie = $request.headers.cookie;
$.log($request.headers);
if (cookie && cookie.indexOf('JSESSIONID') > -1) {
$.write(cookie, 'cookie');
Expand Down

0 comments on commit 95c849e

Please sign in to comment.