rhming / UnicomDailyTask

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

显示验证码登陆 #77

Open U188 opened 2 years ago

U188 commented 2 years ago

https://m.client.10010.com:443 "POST /mobileService/login.htm HTTP/1.1" 200 None

{"filename":"","menuUrl":"","dsc":"尊敬的客户您好,请使用短信验证码登录进行身份验证!","code":"2","desmobile":"","type":""}

ERROR RequestId:1d12ca76-bb73-4ccb-9a6e-f8700c4fa567 Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File \"/var/user/index.py\", line 157, 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 37, in init\n raise Exception('[UnicomClient]未登录状态')\nException: [UnicomClient]未登录状态","statusCode":430}

END RequestId:1d12ca76-bb73-4ccb-9a6e-f8700c4fa567

Report RequestId:1d12ca76-bb73-4ccb-9a6e-f8700c4fa567 Duration:1680ms Memory:512MB MemUsage:37.898438MB

rhming commented 2 years ago

appid、imei要配置好与手机上的要一致,没配置好会被当成新设备上登录,首次登录会要验证码