# API接口
*****
[TOC]
*****
>[info] ## 检测授权
> ~~~[api]
> get:/api.php/Auth/checkAuth
> *int:appid=1#应用ID
> *string:auth_info#提交的授权内容
> *string:api_key#应用的API密钥
> string:param#盗版信息
> <<<
> success
> {"msg":"正版授权","data":{"data":{"code":1,"time":1675680296},"sign":"KNODZf1YqZr8XrRn1PXJ_0mDB3FFH_98DsyqJM1wa-VcI6VtPUZR6quif2_tY8yonX8FwnfM_s5292ymYNHX-9hpLW8aQLw6YzfaqMrhL5LoAkKjJVq5oUpUAgPctmuXSnTEbN-C6k274UrnDFrcLsAklLsJMgS7XOkLjrkw0x3igr_PQDTxxsBgxQycejjH4zGl7dWXByyK2A3nF7YLk_3n6hfTWoiwoxvAKph1lmSF-Gy0DPeLfLIMU3UZmc6rn2d0ghtpFxPR-6yyUqi9B0ysj6AUY8mTijzGk0LUKdsLVusVM357vgyOWgmn7C90AibJMhFBq7w83O-vMyiQGA"},"success":true,"code":0}
> <<<
> error
> {"msg":"不存在此应用!","data":{},"success":false,"code":-1}
> ~~~
>[info] ## 在线更新
> ~~~[api]
> get:/api.php/Auth/checkUpdate
> *int:appid=1#应用ID
> *string:auth_info#提交的授权内容
> *string:api_key#应用的API密钥
> string:param#盗版信息
> <<<
> success
> {"msg":"最新版 1.1","data":{"data":{"code":1,"time":1675680296},"sign":"KNODZf1YqZr8XrRn1PXJ_0mDB3FFH_98DsyqJM1wa-VcI6VtPUZR6quif2_tY8yonX8FwnfM_s5292ymYNHX-9hpLW8aQLw6YzfaqMrhL5LoAkKjJVq5oUpUAgPctmuXSnTEbN-C6k274UrnDFrcLsAklLsJMgS7XOkLjrkw0x3igr_PQDTxxsBgxQycejjH4zGl7dWXByyK2A3nF7YLk_3n6hfTWoiwoxvAKph1lmSF-Gy0DPeLfLIMU3UZmc6rn2d0ghtpFxPR-6yyUqi9B0ysj6AUY8mTijzGk0LUKdsLVusVM357vgyOWgmn7C90AibJMhFBq7w83O-vMyiQGA"},"success":true,"code":0}
> <<<
> error
> {"msg":"不存在此应用!","data":{},"success":false,"code":-1}
> ~~~