cqp 11 月之前
父节点
当前提交
ec49920211
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      routes/device.php

+ 0 - 1
routes/device.php

@@ -19,7 +19,6 @@ Route::any('/request/addperson', 'Api\DeviceController@addperson');
 Route::any('/capture', 'Api\DeviceController@capture');
 Route::get('/image/{filename}', function ($filename) {
     $path = storage_path('app/public/kq/' . $filename);
-    $path = $path.'.jpg';
     if (!File::exists($path)) {
         abort(404);
     }