/** * [accountUnBindAction 用户绑定的第三方信息] * @return [type] [description] */ public function accountUnBindAction() { if (!$this->validFlag) { echo json_encode(array('ret' => 0, 'msg' => $this->warnMsg)); $this->view->disable(); return; } else { $users = new Users(); if ($this->session->has('uid')) { if ($users->unBingQqWb($this->session->get('uid'), $this->_sanReq['type'])) { echo json_encode(array('ret' => 1)); } else { echo json_encode(array('ret' => 0, 'msg' => array('service' => array('msg' => $this->di['sysconfig']['flagMsg']['10000'])))); } $this->view->disable(); return; } } }