用户编
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -293,7 +293,7 @@ class Contract extends BaseModel | ... | @@ -293,7 +293,7 @@ class Contract extends BaseModel |
293 | */ | 293 | */ |
294 | public function filesNew() | 294 | public function filesNew() |
295 | { | 295 | { |
296 | return $this->hasMany(FileMap::class, 'link_id', 'id')->where('link', 'contract'); | 296 | return $this->hasMany(FileMap::class, 'link_id', 'id')->where('link', 'copyright'); |
297 | } | 297 | } |
298 | 298 | ||
299 | /** | 299 | /** | ... | ... |
-
Please register or sign in to post a comment