rhming / UnicomDailyTask

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

测试报错 #4

Open ez452 opened 3 years ago

ez452 commented 3 years ago

Exception in thread Thread-8:

Traceback (most recent call last):

self.run()

File "/var/lang/python3/lib/python3.6/threading.py", line 916, in _bootstrap_inner

File "/var/lang/python3/lib/python3.6/threading.py", line 864, in run

File "/var/user/activity/wolearn/stdt4.py", line 232, in run

if self.answer(item, answerId) == 1:

self._target(*self._args, **self._kwargs)

return int(result['data']['status'])

TypeError: string indices must be integers

File "/var/user/activity/wolearn/stdt4.py", line 153, in answer

Response RequestId:38ac6135-e9ab-46e3-9f19-02a9c5737454 RetMsg:null

END RequestId:38ac6135-e9ab-46e3-9f19-02a9c5737454

Report RequestId:38ac6135-e9ab-46e3-9f19-02a9c5737454 Duration:50003ms Memory:128MB MemUsage:83.253906MB 麻烦大佬看一下还有哪部分是需要改的,还有个小建议,能不能加个推送啊,谢谢

rhming commented 3 years ago

已修复,重新下载上传到云函数. 近一个月的活动抽奖记录都会存到搭建的数据存储服务上 可以登录管理后台查看

jkluio78 commented 3 years ago

已修复,重新下载上传到云函数. 近一个月的活动抽奖记录都会存到搭建的数据存储服务上 可以登录管理后台查看

请问大佬管理后台的网址是什么?如何查看运行数据?

rhming commented 3 years ago

pythonanywhere仓库搭建的数据存储服务 访问用户名.pythonanywhere.com,界面上有管理后台选项, 已添加消息推送 需要重新上传到云函数