填写上传人
Showing
1 changed file
with
1 additions
and
4 deletions
| ... | @@ -252,9 +252,6 @@ class PropertyTrackService extends Service | ... | @@ -252,9 +252,6 @@ class PropertyTrackService extends Service |
| 252 | */ | 252 | */ |
| 253 | public function fileSave() | 253 | public function fileSave() |
| 254 | { | 254 | { |
| 255 | var_dump($this->request->get('identifier')); | ||
| 256 | exit(); | ||
| 257 | |||
| 258 | try { | 255 | try { |
| 259 | 256 | ||
| 260 | $fileTypes = $this->request->input('file_types'); | 257 | $fileTypes = $this->request->input('file_types'); |
| ... | @@ -263,7 +260,7 @@ class PropertyTrackService extends Service | ... | @@ -263,7 +260,7 @@ class PropertyTrackService extends Service |
| 263 | 260 | ||
| 264 | $upload_user = ''; | 261 | $upload_user = ''; |
| 265 | if ($this->request->input('from') == 1) { | 262 | if ($this->request->input('from') == 1) { |
| 266 | $upload_user = $this->request->get('identifier')->user_id; | 263 | $upload_user = $this->request->get('identifier') ? $this->request->get('identifier')->user_id : ''; |
| 267 | } elseif ($this->request->input('from') == 2) { | 264 | } elseif ($this->request->input('from') == 2) { |
| 268 | $upload_user = PropertyShare::query()->where(['id'=>$this->request->get('id')])->pluck('phone')->first(); | 265 | $upload_user = PropertyShare::query()->where(['id'=>$this->request->get('id')])->pluck('phone')->first(); |
| 269 | } | 266 | } | ... | ... |
-
Please register or sign in to post a comment