Browse Source

Merge branch '11_02_marster'

master
lanzu_qinsheng 5 years ago
parent
commit
0e00716829
  1. 2
      app/Admin/Actions/Excel/SalesMan.php
  2. 2
      app/Admin/Controllers/v3/Salesman.php

2
app/Admin/Actions/Exporter/SalesMan.php → app/Admin/Actions/Excel/SalesMan.php

@ -1,6 +1,6 @@
<?php
namespace App\Admin\Actions\Exporter;
namespace App\Admin\Actions\Excel;
use App\Models\LanzuCsInfo;

2
app/Admin/Controllers/v3/Salesman.php

@ -105,7 +105,7 @@ class Salesman extends AdminController
$name = request()->get('name');
$option = request()->get('option');
$time = date('Y-m-d H:i:s',time());
return Excel::download(new \App\Admin\Actions\Exporter\SalesMan($option,$name), $time.'.xlsx');
return Excel::download(new \App\Admin\Actions\Excel\SalesMan($option,$name), $time.'.xlsx');
}

Loading…
Cancel
Save