修复一处错误

pull/39/merge
xiaoz 2019-03-15 12:57:37 +08:00
parent 72c1b3abab
commit a0e8c19ec5
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
//@todo 建议使用列表类型而不是联名数组类型保存key
$keys = json_decode($keys, true);
$i = 'api'.rand(1, count($keys));
$key = $keys[$i-1];
$key = $keys[$i];
$url = "https://api.tinify.com/shrink";
$data = file_get_contents($path);