Jing Li 2023-08-06 13:32:04 +08:00
parent b86efdc00b
commit 5cb8b5e9cf
1 changed files with 1 additions and 1 deletions

View File

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