MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / aiting_query_integral

Method aiting_query_integral

daily/chinaUnicom.py:3761–3768  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3759 self.log(f"安全管家: 异常: {e}")
3760
3761 def aiting_query_integral(self):
3762 url = "https://m.jf.10010.com/jf-external-application/jftask/userInfo"
3763 response = self.session.post(url, json={}, headers=self.aiting_jf_headers())
3764 self.update_aiting_jea_id(response)
3765 res = response.json()
3766 if res.get('code') == '0000':
3767 data = res.get('data', {})
3768 self.log(f"积分概览: 今日已赚 {data.get('todayEarnScore')}, 当前余额 {data.get('availableScore')}", notify=True)
3769
3770 def aiting_jf_headers(self, with_signature=False):
3771 headers = {

Callers 1

aiting_taskMethod · 0.95

Calls 5

aiting_jf_headersMethod · 0.95
update_aiting_jea_idMethod · 0.95
logMethod · 0.95
postMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected