2018年2月

win键+R → 进入运行窗口, 输入cmd

输入下面的代码

adb shell settings put global captive_portal_https_url https://lanhaoo.club/generate_204

如果想用自己的服务器搭建204服务器,提供nginx服务器的配置, 粘贴到server位置即可:

location /generate_204 { return 204; }

https://openapi.baidu.com/oauth/2.0/token?grant_type=client_credentials&client_id=输入你的ID&client_secret=输入你的密匙&

在网页里面打开这个链接 ,第一个就是token !

"access_token":"XXXXX"

可以用来 冲顶大会,百万英雄,芝士超人的OCR检测