接口地址:
https://api.66mz8.com/api/qrencode.php
返回格式:
json/txt
请求方式:
get/post
请求示例:
https://api.66mz8.com/api/qrencode.php?url=https://tva3.sinaimg.cn/large/007X8olVly1g822adxbc0j308c08c0st.jpg
请求参数说明:
名称 | 必填 | 类型 | 说明 | |
---|---|---|---|---|
url | 是 | string | 带有二维码的图链 | |
format | 否 | string | 选择输出格式 [json|text] |
返回参数说明:
名称 | 类型 | 说明 | |
---|---|---|---|
code | string | 返回的状态码 | |
msg | string | 返回提示信息 | |
qr_url | string | 返回解析地址 |
请求返回示例:
{ "code":200, "msg": "success", "qr_url":"http:\/\/qrpay.66mz8.com\/support.html" }