Commit 11b7b9f0 11b7b9f0be88fa9c27c75fcc2585f3ae6fe471a3 by lemon

填写上传人

1 parent d548177c
...@@ -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 }
......