diff --git a/module/score/control.php b/module/score/control.php index 0e2d0a97f9..81dd063920 100644 --- a/module/score/control.php +++ b/module/score/control.php @@ -10,15 +10,14 @@ class score extends control { /** - * Ajax action score. + * 创建积分。 * javascript use : $.get(createLink('score', 'ajax', "method=method")); * - * @param string $method - * + * @param string $method * @access public * @return void */ - public function ajax($method = '') + public function ajax(string $method = '') { $this->score->create('ajax', $method); }