/**
  * 保存
  * @return \Illuminate\View\View
  * @throws DeepInHtmlException
  */
 public function save()
 {
     $groupName = \Input::get("groupname", null);
     if (empty($groupName)) {
         throw new DeepInHtmlException("名称不能为空~!");
     }
     $inuse = intval(\Input::get("inuse"));
     $inuse = $inuse == 1 || 0;
     $group = new DeepinAuthGroup();
     $group->groupName($groupName);
     $group->inuse($inuse);
     if ($group->save() == false) {
         throw new DeepInHtmlException("新增失败~!");
     }
     return $this->success("新增成功");
 }