|
...
|
...
|
@@ -124,6 +124,11 @@ class InquiryInfoController extends BaseController |
|
|
|
* @time :2023/7/13 10:39
|
|
|
|
*/
|
|
|
|
public function importInquirySave(InquiryInfoLogic $inquiryInfoLogic){
|
|
|
|
$this->request->validate([
|
|
|
|
'file'=>'required',
|
|
|
|
],[
|
|
|
|
'file.required' => 'w文件不能为空',
|
|
|
|
]);
|
|
|
|
if ($this->request->hasFile('file')) {
|
|
|
|
$path = $this->request->file('file')->getRealPath();
|
|
|
|
$spreadsheet = IOFactory::load($path);
|
...
|
...
|
|