Example #1
0
 /**
  * 删除服务器
  */
 private function _del()
 {
     if ($this->_modelGameSerList->delById($_GET['Id'])) {
         $this->_utilMsg->showMsg('删除成功', 1, Tools::url(CONTROL, ACTION));
     } else {
         $this->_utilMsg->showMsg('删除失败', -2);
     }
 }
Example #2
0
 /**
  * 删除服务器
  */
 private function _del()
 {
     if ($this->_modelGameSerList->delById($_GET['Id'])) {
         $this->_utilMsg->showMsg(Tools::getLang('DEL_SUCCESS', 'Common'), 1, 1);
     } else {
         $this->_utilMsg->showMsg(Tools::getLang('DEL_ERROR', 'Common'), -2);
     }
 }