本接口没有调用统计
接口地址: https://xingyu.loveiu.cn/api/Original_god.php
返回格式: 请看返回示例
请求方式: GET
请求示例: https://xingyu.loveiu.cn/api/Original_god.php?num=1
请求参数说明:
名称 | 必填 | 说明 |
---|---|---|
num | 是 | 次数 |
系统级错误:
名称 | 说明 |
---|---|
400 | 请求错误! |
403 | 请求被服务器拒绝! |
405 | 客户端请求的方法被禁止! |
408 | 请求时间过长! |
500 | 服务器内部出现错误! |
501 | 服务器不支持请求的功能,无法完成请求! |
503 | 系统维护中! |
返回参数说明:
名称 | 类型 | 说明 |
---|---|---|
total | Array | 抽卡统计 |
huo | String | 名称 |
type | String | 级别 |
返回示例:
Warning: Undefined array key "total" in /www/wwwroot/xingyu.loveiu.cn/api/Original_god.php on line 56
Warning: Undefined array key "r4" in /www/wwwroot/xingyu.loveiu.cn/api/Original_god.php on line 56
Warning: Undefined array key "format" in /www/wwwroot/xingyu.loveiu.cn/api/data/yingying/function.php on line 124
{ "code": 200, "total": { "r4": 1 }, "list": [ { "huo": "北斗", "random": 0.030011878362862336, "type": "r4" } ] }
错误码格式说明:
名称 | 说明 |
---|---|
200 | 获取成功 |
-1 | 参数不完整! |
-2 | 参数错误 |
-3 | 次数过大 |