|
|
@@ -3,9 +3,7 @@
|
|
|
namespace App\Http\Controllers;
|
|
|
|
|
|
|
|
|
-use App\Http\Controllers\Api\thirdPart\flux\WaybillController;
|
|
|
use App\UploadFile;
|
|
|
-use App\User;
|
|
|
use App\WaybillAuditLog;
|
|
|
use App\WaybillPriceModel;
|
|
|
use App\Carrier;
|
|
|
@@ -638,8 +636,6 @@ class WaybillsController extends Controller
|
|
|
$thumbnail=storage_path('app/public/'.$uploadFile->url.'-thumbnail.'.$uploadFile->type);
|
|
|
if (file_exists($bulky) && file_exists($common) && file_exists($thumbnail)){
|
|
|
unlink($bulky);unlink($common);unlink($thumbnail);
|
|
|
- }else{
|
|
|
- return ['success'=>false];
|
|
|
}
|
|
|
}
|
|
|
UploadFile::where('table_name','waybills')->whereIn('table_id',$ids)->delete();
|