public function diggDocument($document_id)
 {
     $this->requireLogin();
     //调用赞插件增加赞数量
     $addon = new DiggAddon();
     $digg_count = $addon->vote($this->getUid(), $document_id);
     if ($digg_count === false) {
         $this->apiError(2101, "您已经赞过,不能重复赞");
     }
     //返回成功消息
     $this->apiSuccess("操作成功", null, array('digg_count' => $digg_count));
 }