新增涩图
This commit is contained in:
parent
1bf0336b72
commit
75f3a68faf
@ -28,7 +28,7 @@ public class GetSeTu extends Model {
|
|||||||
String ret=HttpTools.get("https://api.ixiaowai.cn/api/api.php?return=json");
|
String ret=HttpTools.get("https://api.ixiaowai.cn/api/api.php?return=json");
|
||||||
JSONObject json=JSONObject.parseObject(ret);
|
JSONObject json=JSONObject.parseObject(ret);
|
||||||
HttpTools.download(json.getString("imgurl"),
|
HttpTools.download(json.getString("imgurl"),
|
||||||
null, new DownloadInterface() {
|
"setu.jpg", new DownloadInterface() {
|
||||||
@Override
|
@Override
|
||||||
public void onDownload(File file) {
|
public void onDownload(File file) {
|
||||||
super.onDownload(file);
|
super.onDownload(file);
|
||||||
|
Loading…
Reference in New Issue
Block a user