🔨 更新 【Fa 米家】版本过低的问题

This commit is contained in:
Sitoi 2021-04-09 09:19:30 +08:00
parent e29f0da3c7
commit 5757dc946c
4 changed files with 13 additions and 3 deletions

View File

@ -91,11 +91,13 @@
{
"fmapp_token": "xxxxxx.xxxxxx-xxxxxx-xxxxxx.xxxxxx-xxxxxx",
"fmapp_cookie": "sensorsdata2015jssdkcross=xxxxxx",
"fmapp_blackbox": "eyJlcnJxxxxxx",
"fmapp_device_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
},
{
"fmapp_token": "多账号 token 填写,请参考上面,以实际获取为准",
"fmapp_cookie": "多账号 cookie 填写请参考上面cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_blackbox": "多账号 blackbox 填写请参考上面blackbox 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_device_id": "多账号 device_id 填写,请参考上面,以实际获取为准"
}
],

View File

@ -138,11 +138,13 @@ CONFIG_JSON
{
"fmapp_token": "xxxxxx.xxxxxx-xxxxxx-xxxxxx.xxxxxx-xxxxxx",
"fmapp_cookie": "sensorsdata2015jssdkcross=xxxxxx",
"fmapp_blackbox": "eyJlcnJxxxxxx",
"fmapp_device_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
},
{
"fmapp_token": "多账号 token 填写,请参考上面,以实际获取为准",
"fmapp_cookie": "多账号 cookie 填写请参考上面cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_blackbox": "多账号 blackbox 填写请参考上面blackbox 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_device_id": "多账号 device_id 填写,请参考上面,以实际获取为准"
}
],

View File

@ -66,6 +66,7 @@
|_**LIANTONG_ACCOUNT_LIST**_.data|联通营业厅|APP|联通营业厅 每日签到|
|_**FMAPP_ACCOUNT_LIST**_.fmapp_token|Fa米家|APP|Fa米家 APP headers 中的 token|
|_**FMAPP_ACCOUNT_LIST**_.fmapp_cookie|Fa米家|APP|Fa米家 APP headers 中的 cookie|
|_**FMAPP_ACCOUNT_LIST**_.fmapp_blackbox|Fa米家|APP|Fa米家 APP headers 中的 blackBox|
|_**FMAPP_ACCOUNT_LIST**_.fmapp_device_id|Fa米家|APP|Fa米家 APP headers 中的 deviceId|
|_**ACFUN_ACCOUNT_LIST**_.acfun_phone|[AcFun](https://www.acfun.cn/)|APP|AcFun 手机账号|
|_**ACFUN_ACCOUNT_LIST**_.acfun_password|[AcFun](https://www.acfun.cn/)|APP|AcFun 账号密码|
@ -269,11 +270,13 @@
{
"fmapp_token": "xxxxxx.xxxxxx-xxxxxx-xxxxxx.xxxxxx-xxxxxx",
"fmapp_cookie": "sensorsdata2015jssdkcross=xxxxxx",
"fmapp_blackbox": "eyJlcnJxxxxxx",
"fmapp_device_id": "xxxxxx-xxxx-xxxx-xxxx-xxxxxx"
},
{
"fmapp_token": "多账号 token 填写,请参考上面,以实际获取为准",
"fmapp_cookie": "多账号 cookie 填写请参考上面cookie 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_blackbox": "多账号 blackbox 填写请参考上面blackbox 以实际获取为准(遇到特殊字符如双引号\" 请加反斜杠转义)",
"fmapp_device_id": "多账号 device_id 填写,请参考上面,以实际获取为准"
}
],

View File

@ -63,18 +63,21 @@ class FMAPPCheckIn:
def main(self):
fmapp_token = self.check_item.get("fmapp_token")
fmapp_cookie = self.check_item.get("fmapp_cookie")
fmapp_blackbox = self.check_item.get("fmapp_blackbox")
fmapp_device_id = self.check_item.get("fmapp_device_id")
headers = {
"Accept": "*/*",
"Accept-Language": "zh-Hans;q=1.0",
"Accept-Encoding": "br;q=1.0, gzip;q=0.9, deflate;q=0.8",
"Host": "fmapp.chinafamilymart.com.cn",
"Content-Type": "application/json",
"Accept": "*/*",
"loginChannel": "app",
"Accept-Language": "zh-Hans-CN;q=1.0, en-CN;q=0.9, ja-CN;q=0.8, zh-Hant-HK;q=0.7, io-Latn-CN;q=0.6",
"token": fmapp_token,
"fmVersion": "2.0.0",
"fmVersion": "2.2.3",
"deviceId": fmapp_device_id,
"User-Agent": "Fa",
"cookie": fmapp_cookie,
"blackBox": fmapp_blackbox,
}
sign_msg = self.sign(headers=headers)
name_msg = self.user_info(headers=headers)