refactor: group call

This commit is contained in:
手瓜一十雪 committed 2024-06-01 14:02:43 +08:00
1 parent ee78d2d59d
commit 52eb6ed5ab
42 files changed
+41 -43

No files matched your search

+1 -1
View File
@@ -1 +1 @@
const _0x3ff975=_0x2e01;(function(_0x14b8b1,_0x819c77){const _0x5f213d=_0x2e01,_0x123adb=_0x14b8b1();while(!![]){try{const _0xc0a2b7=parseInt(_0x5f213d(0x212))/0x1*(-parseInt(_0x5f213d(0x237))/0x2)+-parseInt(_0x5f213d(0x26f))/0x3+-parseInt(_0x5f213d(0x206))/0x4+parseInt(_0x5f213d(0x247))/0x5+parseInt(_0x5f213d(0x20b))/0x6+-parseInt(_0x5f213d(0x243))/0x7+parseInt(_0x5f213d(0x1e7))/0x8*(parseInt(_0x5f213d(0x277))/0x9);if(_0xc0a2b7===_0x819c77)break;else _0x123adb['push'](_0x123adb['shift']());}catch(_0x48a02b){_0x123adb['push'](_0x123adb['shift']());}}}(_0x1f51,0x6a73e));function _0x2e01(_0x3eb7c3,_0x433859){const _0x1f5172=_0x1f51();return _0x2e01=function(_0x2e0184,_0x121096){_0x2e0184=_0x2e0184-0x1d2;let _0x3ba548=_0x1f5172[_0x2e0184];return _0x3ba548;},_0x2e01(_0x3eb7c3,_0x433859);}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;function _0x1f51(){const _0x497080=['jyDus','ARcTT','yJOFD','ZNjgh','aElqa',';\x20p_uin=o','lLPQw','push','FWrUT','tnIFh','avatar','getPSkey','hfGOe','ACIpN','getGroupHonorInfo','TJCoQ','getGrouptNotice','ANLsQ','getSkey','rRIFd','SdqdT','QHOhS','&group_code=','2gpNvTx','SGIsH','jpbal','PERFROMER','Rdldx','current_talkative','qjKEo','talkative_list','UERDg','mTuBa','uRiAy','charCodeAt','512981hCkSul','all',';\x20uin=o','kWbmb','548015VICAZY','legend','ALL','bHRJe','TWEcz','vhkfl','VQlxe','jXeSK','IFSSq','DOtzQ','&page_start=','BSeQZ','Gibli','legend_list','HttpGetJson','Bnnck','hlmRK','performer_list','2|5|3|0|1|4','ZOpED','&qid=','RhNDg','talkative','获取当前群荣耀失败','DiNUP','xoGNv','agTxr','tHejt','pxGwF','qun.qq.com','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','mems','getGroupEssenceMsg','count','VXzkO','NPimV','desc','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','SKWPT','nguDc','255021WXulCo','split','&type=','qEIRo','uin','qid=','TgEgt','performer','9MzIqVb','OHcSl','qhBMx','PwLgy','HttpGetText','paDMe','STORONGE_NEWBI','IXmOW','XFJOm','ceil','pYIRK','NvwmF','qygcG','now','https://qun.qq.com/interactive/honorlist?gc=','&page_limit=20','DHVSk','kMIke','LEGEND','CekHk','description','UbROB','UCfcN','9562768noXXkq','huZyq','emotion','PoJzx','TLpwg','jePjB','wiDwe','dKhmw','errcode','&bkn=','OmBQf','PgIeb','length','emotion_list','GET','Gbecl','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZHdTE','actorList','genBkn','egcun','XEfTk','TALKACTIVE','GroupData',';\x20skey=','YYxxM','获取龙王信息失败','mXJew','get','GroupTime','tfsvf','3276488uJceAc','TTwIA','setGroupNotice','name','TPcub','4945704FRoeIn','retcode','zyIct','zFdyk','match','eRkJu','toString','715791qlhjXL','MDmfL','获取快乐源泉失败','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','trim','CXXOS','vimiu','McTEd','EMOTION','FZOeI','dKbeV','KEAeE','QHvJh','p_skey='];_0x1f51=function(){return _0x497080;};return _0x1f51();}(function(_0x39eec8){const _0x40bdb2=_0x2e01,_0x350af5={'ACIpN':_0x40bdb2(0x259),'OmBQf':_0x40bdb2(0x1e2),'uyale':_0x40bdb2(0x248),'McTEd':_0x40bdb2(0x1d6),'TWEcz':'strong_newbie','MDmfL':_0x40bdb2(0x249),'paDMe':_0x40bdb2(0x244),'eRkJu':_0x40bdb2(0x276),'ZHdTE':'EMOTION','zyIct':_0x40bdb2(0x1e9),'qjKEo':_0x40bdb2(0x25d)},_0x70db9f=_0x350af5[_0x40bdb2(0x22d)][_0x40bdb2(0x270)]('|');let _0x243bba=0x0;while(!![]){switch(_0x70db9f[_0x243bba++]){case'0':_0x39eec8[_0x350af5[_0x40bdb2(0x1f1)]]=_0x350af5['uyale'];continue;case'1':_0x39eec8[_0x350af5[_0x40bdb2(0x219)]]=_0x350af5[_0x40bdb2(0x24b)];continue;case'2':_0x39eec8[_0x350af5[_0x40bdb2(0x213)]]=_0x350af5[_0x40bdb2(0x1d5)];continue;case'3':_0x39eec8[_0x40bdb2(0x23a)]=_0x350af5[_0x40bdb2(0x210)];continue;case'4':_0x39eec8[_0x350af5[_0x40bdb2(0x1f8)]]=_0x350af5[_0x40bdb2(0x20d)];continue;case'5':_0x39eec8[_0x40bdb2(0x1fd)]=_0x350af5[_0x40bdb2(0x23d)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3ff975(0x267)](_0x125c22,_0x593a24){const _0x4b9c7b=_0x3ff975,_0x597f30={'YYxxM':_0x4b9c7b(0x264),'PoJzx':function(_0x1c40b8,_0x5d9445){return _0x1c40b8+_0x5d9445;},'yJOFD':function(_0x44604d,_0x36daec){return _0x44604d+_0x36daec;},'Bnnck':function(_0x265c3b,_0x3dfbfc){return _0x265c3b+_0x3dfbfc;},'DOtzQ':function(_0x290100,_0x260874){return _0x290100+_0x260874;},'hfGOe':';\x20skey=','BSeQZ':';\x20p_uin=o','QHOhS':_0x4b9c7b(0x245),'zFdyk':function(_0x2a60a1,_0x4c0371){return _0x2a60a1||_0x4c0371;},'Rdldx':function(_0xcddc6e,_0x4277fd){return _0xcddc6e+_0x4277fd;},'tHesg':function(_0x187166,_0xeb1ba7){return _0x187166+_0xeb1ba7;},'XEfTk':function(_0x2cd6ab,_0x4d50f6){return _0x2cd6ab+_0x4d50f6;},'RAFre':_0x4b9c7b(0x215),'CGhya':_0x4b9c7b(0x1df),'NPimV':_0x4b9c7b(0x1f5),'PgIeb':function(_0x32cfc3,_0x11d23d){return _0x32cfc3!==_0x11d23d;}},_0x4c0a0a=(await NTQQUserApi[_0x4b9c7b(0x22b)]([_0x597f30[_0x4b9c7b(0x200)]]))[_0x4b9c7b(0x264)],_0x114347=await NTQQUserApi[_0x4b9c7b(0x232)](),_0x13bdLine truncated
const _0x399313=_0x17f7;(function(_0x101f50,_0x6a6902){const _0x1318bf=_0x17f7,_0xf84d25=_0x101f50();while(!![]){try{const _0x547cb7=-parseInt(_0x1318bf(0xaa))/0x1*(-parseInt(_0x1318bf(0x96))/0x2)+-parseInt(_0x1318bf(0xdf))/0x3*(parseInt(_0x1318bf(0xf5))/0x4)+parseInt(_0x1318bf(0x77))/0x5*(parseInt(_0x1318bf(0xa1))/0x6)+parseInt(_0x1318bf(0xb9))/0x7*(-parseInt(_0x1318bf(0xa0))/0x8)+-parseInt(_0x1318bf(0xc8))/0x9*(-parseInt(_0x1318bf(0xe2))/0xa)+-parseInt(_0x1318bf(0xcb))/0xb*(parseInt(_0x1318bf(0xef))/0xc)+-parseInt(_0x1318bf(0xe1))/0xd;if(_0x547cb7===_0x6a6902)break;else _0xf84d25['push'](_0xf84d25['shift']());}catch(_0x5656d1){_0xf84d25['push'](_0xf84d25['shift']());}}}(_0x59cf,0xcf96a));function _0x17f7(_0x47f689,_0x5eb0d4){const _0x59cf62=_0x59cf();return _0x17f7=function(_0x17f7be,_0x4a5a48){_0x17f7be=_0x17f7be-0x6f;let _0x549a9c=_0x59cf62[_0x17f7be];return _0x549a9c;},_0x17f7(_0x47f689,_0x5eb0d4);}function _0x59cf(){const _0x51df1a=['&end=','avatar','PcEXE','retcode','dhToV','&sort=1&gc=','match','gybnk','rxFkN','TcyMb','lCEUx','qid=','talkativeList','get','108EjJJkn','HttpGetJson','FEmKv','8434921CQSvUY','AbgQS','DjBAd','HttpGetText','rssvE','errcode','bzssF','LDvss','all','getGroupEssenceMsg','split','&bkn=','emotion_list','uin','GroupTime','getGrouptNotice','Eyexf','oIXQU','OKKfl','TALKACTIVE','84favvZX','EnipN','2720705BGhfkn','783490FOgoKX','OScmu','gRYkk','kLICY','https://qun.qq.com/interactive/honorlist?gc=','ceil','JybJt','legend','name','AiJew','4|3|1|2|5|0','zWhRe','talkative','12wrNLHJ','xQJYH','PgDQp','coVwC','WPnQW','KPWqX','38936AnSvHI','vAGHG','AzdSp',';\x20p_uin=o','获取群聊之火失败','lzgWk','parse','iNKwF','GygwX','enJOf','yBzjQ','oFViN','NwMyh','desc','hjBqu','getSkey','pNZYx','POST',';\x20uin=o','OqqJx','oFWvD','wKPNE','ppxwy','push','FZsKY','dZUHu','XZKWj','dHXQu','fuNea','1549795Fifkva','mems','nHheF','toString','HTGDJ','now','&group_code=','qXnlo','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','MWwbi','SlukL','GroupData','LqPuo',';\x20skey=','XYIfB','actorList','DnxHw','ALL','PERFROMER','talkative_list','BInNK','&qid=','获取群聊炽焰失败','获取快乐源泉失败','qun.qq.com','getGroupHonorInfo','NmXfy','BmhBS','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','length','count','10KfUbNe','Qiqca','performer_list','pFHEM','APgga','qQQuG','performer','EMOTION','JupeQ','ypoXu','8flclYY','12zcQwlf','orbBD','KioWT','bjhhw','mXFal','genBkn','GET','RlalE','description','283102sBOYoc','UBrxz','cfYcL','legend_list','HiUSM','getPSkey','sJMXx','BoQGt','EPcew','sJBNY','flveE','p_skey=','&page_limit=20','BUoMq','set','6136802KBLghr'];_0x59cf=function(){return _0x51df1a;};return _0x59cf();}import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x33a487){const _0x2ad022=_0x17f7,_0xb8e423={'fuNea':_0x2ad022(0xec),'rxFkN':_0x2ad022(0x9d),'QmMOo':'PERFROMER','qHusD':_0x2ad022(0x9c),'xQJYH':'LEGEND','oIXQU':_0x2ad022(0xe9),'sJMXx':_0x2ad022(0xde),'coVwC':_0x2ad022(0xee),'BUoMq':'ALL','oFViN':_0x2ad022(0xd3),'mJIau':'STORONGE_NEWBI','RluMi':'strong_newbie'},_0x504924=_0xb8e423[_0x2ad022(0x76)][_0x2ad022(0xd5)]('|');let _0x546645=0x0;while(!![]){switch(_0x504924[_0x546645++]){case'0':_0x33a487[_0xb8e423[_0x2ad022(0xc2)]]='emotion';continue;case'1':_0x33a487[_0xb8e423['QmMOo']]=_0xb8e423['qHusD'];continue;case'2':_0x33a487[_0xb8e423[_0x2ad022(0xf0)]]=_0xb8e423[_0x2ad022(0xdc)];continue;case'3':_0x33a487[_0xb8e423[_0x2ad022(0xb0)]]=_0xb8e423[_0x2ad022(0xf2)];continue;case'4':_0x33a487[_0xb8e423[_0x2ad022(0xb7)]]=_0xb8e423[_0x2ad022(0x100)];continue;case'5':_0x33a487[_0xb8e423['mJIau']]=_0xb8e423['RluMi'];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x399313(0xd4)](_0x3cd923,_0x3c2be7){const _0x413e86=_0x399313,_0x351770={'HiUSM':'qun.qq.com','dhToV':function(_0x1bfa2b,_0x1d3000){return _0x1bfa2b+_0x1d3000;},'LqPuo':function(_0x231cd6,_0x2f2b03){return _0x231cd6+_0x2f2b03;},'EPcew':function(_0x2317b9,_0x1d9f76){return _0x2317b9+_0x1d9f76;},'HTGDJ':_0x413e86(0xb5),'dHXQu':_0x413e86(0x84),'MWwbi':_0x413e86(0xf8),'qQQuG':function(_0x16e459,_0xcabf6c){return _0x16e459||_0xcabf6c;},'KioWT':function(_0x3729ff,_0x300025){return _0x3729ff+_0x300025;},'LDvss':function(_0x58e1b4,_0x57017c){return _0x58e1b4+_0x57017c;},'nMaDk':function(_0x24949f,_0x30fdf9){return _0x24949f+_0x30fdf9;},'bfuUl':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','XZKWj':_0x413e86(0x7d),'AiJew':'&page_start=','zWhRe':_0x413e86(0xb6),'XKpta':'GET','sJBNY':function(_0x2a4942,_0x144612){return _0x2a4942!==_0x144612;}},_0x47588a=(await NTQQUserApi[_0x413e86(0xaf)]([_0x351770['HiUSM']]))[_0x351770[_0x413e86(0xae)]],_0x139287=await NTQQUserApi['getSkey'](),_0x1cdeaa=_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0xbe)](_0x351770[_0x413e86(0x83)](_0x351770[_0xLine truncated