在系统设置,智能重启选项处点保存,就可以在cgi处获得token
切卡代码
$.post(
'http://192.168.0.1/cgi-bin/http.cgi',
'{"current_card_type":"0","cmd":246,"method":"POST","token":"0fc934a579774306319c63aa17d004d9","language":"cn","sessionId":"72de63a04f8c2570f58375ae4c3584ffff541c33bcead3c702ceafbdeca73836"}',
function(result){ console.log(result) })
adb
$.post(
'http://192.168.0.1/cgi-bin/http.cgi',
'{"adbSwitch":"1","cmd":246,"method":"POST","token":"7ec4abfa05e303eded29a54e4535cca8","language":"cn","sessionId":"3a6af9ec97a2dec30820a8e00733538bd3d1ac383ca0070b71b4b355fcc77843"}',
function(result){ console.log(result) })
文章评论