getKey(); $content = ItemChestContent::with('chest')->find($id); if (!$content || !$content->chest_id) { return $this->response()->error('宝箱不存在'); } // 跳转到宝箱详情页面 return $this->response()->redirect( admin_url("game-items/{$content->chest_id}") ); } }