rhming / UnicomDailyTask

联通日常任务 腾讯云函数定时执行
MIT License
152 stars 77 forks source link

华为函数执行报错 #72

Closed c526796017 closed 2 years ago

c526796017 commented 2 years ago

老哥,请问下这个报错是什么原因导致的? 1644990749(1)

有了APPID之后就不报上面的错误了,而是下面的错误,看了下issue,并没有看到类似的错误

############################getTask############################# 17 Exception in thread Thread-3: Traceback (most recent call last): File "/opt/function/runtime/python3.6/rtsp/python/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/opt/function/runtime/python3.6/rtsp/python/lib/python3.6/threading.py", line 864, in run self._target(self._args, self._kwargs) File "/opt/function/code/activity/unicom/superSimpleTask.py", line 131, in run if int(item['achieve']) == int(item['allocation']) and item['btn'] != '已完成': # int(item['showStyle']) != 3: KeyError: 'achieve'

c526796017 commented 2 years ago

请问下苹果手机怎么抓APPID?

刚刚在网上找到了方法 苹果手机抓这个:https://m.client.10010.com/mobileService/customer/getclientconfig.htm 请求头里面有appId

rhming commented 2 years ago

这应该是没有登录状态,搭建的数据存储服务登录后台管理删除手机号WoGame的字段,再重新执行一遍看看

c526796017 commented 2 years ago

这应该是没有登录状态,搭建的数据存储服务登录后台管理删除手机号WoGame的字段,再重新执行一遍看看

确实就是这个导致的,已解决,TKS