-
Notifications
You must be signed in to change notification settings - Fork 709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
昨天下午至今无法『自动通过好友』,代码之前运行一周无问题 #175
Comments
应该是微信做出了点改动,从昨天开始几乎都失效了 |
有方案记得喊我啊 |
好 |
有解决的方案了么 |
主要是POST的时候的 VerifyUserList 这个字段变成了数组形式 。 {
"BaseRequest": {
"Uin": 962444625,
"Sid": "rlz5jwGKi/wNM1sl",
"Skey": "@crypt_37e3b1dd_7cd89bdef43b8695cc1780ec7a73ff9e",
"DeviceID": "e560898141711756"
},
"Opcode": 3,
"VerifyUserListSize": 1,
"VerifyUserList": [
{
"Value": "@73dabf76d55ab590bc17b3e6a944a4a6e6fa28f4eecc31ecc92539d5fbb27592",
"VerifyUserTicket": "v2_3f491348e542728c47b456b3c5ea90cadf78a2576b2bffa830203c5555478818848161ec0da73904013adc56dcd3fa6f3320f73468f554bbfb81a2299402ee45@stranger"
}
],
"VerifyContent": "",
"SceneListCount": 1,
"SceneList": [
33
],
"skey": "@crypt_37e3b1dd_7cd89bdef43b8695cc1780ec7a73ff9e"
} 修复代码, $data = [
'BaseRequest' => $this->vbot->config['server.baseRequest'],
'Opcode' => $code,
'VerifyUserListSize' => 1,
'VerifyUserList' => [$userList],
'VerifyContent' => $content,
'SceneListCount' => 1,
'SceneList' => [33],
'skey' => $this->vbot->config['server.skey'],
]; 将VerifyUserList改为数组包裹。 |
@xiaobebe 谢谢,果然是 |
新版本已修复此问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
报错:
实现代码:
The text was updated successfully, but these errors were encountered: