☺️小程序授权
小程序取Code
获取小程序授权Code
http://127.0.0.1:8898/v1/LuaApiCaller?funcname=JSAuthLogin&timeout=10&wxid=wxid_xxxxxxx
POST JSON
{"AppId":"wxff8cad2e9bf18719","Scene":1001}
次接口有频率限制不要频繁获取 获取Code成功后 待第三方小程序的Session过期后再获取Code 进行授权登录
http://127.0.0.1:8898/v1/LuaApiCaller?funcname=MagicCgi&timeout=10&wxid=wxid_xxxxxxx
POST JSON
{ "CgiCmd":1029, "CgiRequest":{ "AppId":"wx9627eb7f4b2c69d5", "Scene":1001 } }
成功返回
{ "CgiBaseResponse":{ "Ret": 0, "ErrMsg": "" }, "ResponseData": "002NIKGa1phC9E02r7Ha1plWmt2NIKGn" }
失败返回
{ "CgiBaseResponse":{ "Ret": -13000, "ErrMsg": "meet frequency limit, please slowdown and try again later" }, "ResponseData": "" }
Last updated