sort = $item->id; $item->save(); } /** * @return HasOne */ public function spu(): HasOne { return $this->hasOne(Spu::class, 'id', 'spu_id'); } /** * ι™ζ—ΆζŠ˜ζ‰£ * * @return HasOne */ public function limitTime(): HasOne { return $this->hasOne(SpuLimitTime::class, 'id', 'spu_activity_id'); } }