rhming / UnicomDailyTask

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

deviceIds 的 'mobile-1'怎么填写呢 #60

Open TF9527v opened 2 years ago

TF9527v commented 2 years ago

deviceIds = { 'mobile-1': '863846045xxxxx', mobile-1该怎么填呢

TF9527v commented 2 years ago

2022/01/17 16:00:59 GMT+08:00 cb0797d8-201c-4466-9b5a-57e6d02e18ee Handler 'handler' not found in module 'index'(module 'index' has no attribute 'handler') Traceback (most recent call last): AttributeError: module 'index' has no attribute 'handler'

TF9527v commented 2 years ago

华为云,老哥怎么会这样啊

rhming commented 2 years ago
TF9527v commented 2 years ago
  • mobile-1就是填写手机号, 每一个手机号码都要对应一个imei, 手机号对应的imei可以相同
  • 函数执行入口改成index.main_handler image

感谢