以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]怎么判断解析?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=141998)

--  作者:zto001
--  发布时间:2019/10/16 10:27:00
--  [求助]怎么判断解析?
异常回传这样的
{"error_response":{"error_code":10013,"error_msg":"code已过期"}}

正确回传这样的
{"scope":[....省略....,"refresh_token":"2a575ce9e5cd453728dc5214be538d588e3",....."}

请问需要怎么判断用那种解析?

--  作者:有点蓝
--  发布时间:2019/10/16 10:37:00
--  
if jo("error_response") isnot nothing then msgbox("有错")
或者
if jo("scope") isnot nothing then msgbox("有结果")