From d43fd192998060277e0dcfe3bb25e77f082a55fa Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 18 Dec 2023 15:49:09 +0800 Subject: [PATCH] * Refactor score::ajax method. --- module/score/control.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); }