Browse Source

修复一处错误

pull/39/merge
xiaoz 6 years ago
parent
commit
a0e8c19ec5
  1. 2
      application/controllers/Deal.php

2
application/controllers/Deal.php

@ -51,7 +51,7 @@ @@ -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);

Loading…
Cancel
Save