rhming / UnicomDailyTask

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

调试一直出错啊 #47

Open TF0310 opened 2 years ago

TF0310 commented 2 years ago

###########################readCookie########################### 18695020402

#############################login############################## 18695020402

###########################JSEncrypt############################ 18695020402

###########################JSEncrypt############################ 18695020402

############################getAppId############################ 18695020402

ERROR RequestId:6a1e2613-593f-4724-bb39-9c525e505329 Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File \"/var/user/index.py\", line 155, in main_handler\n Template(SuperSimpleTask)\n File \"/var/user/index.py\", line 43, in Template\n ts.append(Thread(target=cls(mobile, password).run))\n File \"/var/user/activity/unicom/superSimpleTask.py\", line 15, in init\n super(SuperSimpleTask, self).init(mobile, password)\n File \"/var/user/utils/unicomLogin.py\", line 32, in init\n self.login()\n File \"/var/user/utils/unicomLogin.py\", line 100, in login\n \"appId\": self.getAppId(),\n File \"/var/user/utils/unicomLogin.py\", line 64, in getAppId\n raise Exception('[UnicomClient]获取appId失败')\nException: [UnicomClient]获取appId失败","statusCode":430}

END RequestId:6a1e2613-593f-4724-bb39-9c525e505329

Report RequestId:6a1e2613-593f-4724-bb39-9c525e505329 Duration:1532ms Memory:128MB MemUsage:48.855469MB

rhming commented 2 years ago

配置文件 utils/appId.json中配置好appId,一个手机号对应一个appId