/** * 获取标签详情 * @method GET_infoAction * @param integer $id [description] * @author NewFuture * @todo 标签引用的书籍 */ public function GET_infoAction($id = 0) { $uid = $this->auth(); if ($tag = TagModel::belongs('user')->find($id)) { $this->response(1, $tag); } else { $this->response(0, '信息已经删除'); } }