/**
  * 编辑页面
  * @param $id
  * @return \Illuminate\View\View
  * @throws DeepInHtmlException
  */
 public function edit($id)
 {
     try {
         $rank = $this->find($id);
     } catch (DeepInException $e) {
         throw new DeepInHtmlException($e->getMessage());
     }
     $rankCategory = ShopRankCategory::all();
     //榜单分类
     $apps = ShopApps::all();
     //应用列表
     return view("admin.rank.edit", array("rank_category" => $rankCategory, "apps" => $apps, "rank" => $rank));
 }