* Refactor score::ajax method.

This commit is contained in:
tianshujie
2023-12-18 15:49:51 +08:00
parent a636ed5614
commit d43fd19299
+3 -4
View File
@@ -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);
}