Jing Li 2023-08-06 13:32:04 +08:00
parent 29e4660cf6
commit 1f4ea58abe
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ class RiceShrimpWeeklyPrice extends Model
public function weekObj()
{
return $this->belongsTo(Keywords::class, 'week');
return $this->belongsTo(Keywords::class, 'week', 'key');
}
public function createdBy()