请求地址
http://api.yuxli.cn/api/suijitouxiang.php
参数
format=头像选择(1-女头.2-男头.3-情头.4-动漫头像)
type=返回类型json/text/image
调用示例
http://api.yuxli.cn/api/suijitouxiang.php?format=4&type=image
接口小公告
随机头像
返回数据
时实返回数据
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/api.yuxli.cn/api/suijitouxiang.php on line 5
Warning: file_get_contents(https://avatar-api.wuhan716.com/v1/lover-head/album/findAlbums?page=0&size=45&categoryId=4): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/wwwroot/api.yuxli.cn/api/suijitouxiang.php on line 5
Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/api.yuxli.cn/api/suijitouxiang.php on line 14
Warning: file_get_contents(): Filename cannot be empty in /www/wwwroot/api.yuxli.cn/api/suijitouxiang.php on line 20