/**
  * 更改分数ajax
  */
 public function actionChanageScores()
 {
     if ($this->_isAjax()) {
         $scores = $_GET['scores'];
         $qaId = Tools::coerceInt($_GET['qa_id']);
         $this->_modelQuality = $this->_getGlobalData('Model_Quality', 'object');
         if ($this->_modelQuality->update(array('scores' => $scores), "qa_id={$qaId}")) {
             $this->_returnAjaxJson(array('status' => 1, 'msg' => '更改分数成功'));
         } else {
             $this->_returnAjaxJson(array('status' => 0, 'msg' => '更改分数失败'));
         }
     }
 }
 /**
  * 更改分数ajax
  */
 public function actionChanageScores()
 {
     if ($this->_isAjax()) {
         $scores = $_GET['scores'];
         $qaId = Tools::coerceInt($_GET['qa_id']);
         $this->_modelQuality = $this->_getGlobalData('Model_Quality', 'object');
         if ($this->_modelQuality->update(array('scores' => $scores), "qa_id={$qaId}")) {
             $this->_returnAjaxJson(array('status' => 1, 'msg' => Tools::getLang('UPDATE_SOURCE_SUCCESS', __CLASS__)));
         } else {
             $this->_returnAjaxJson(array('status' => 0, 'msg' => Tools::getLang('UPDATE_SOURCE_ERROR', __CLASS__)));
         }
     }
 }