From caedf75f2c87cd9487eec8bc2a5e80d3d7bd4501 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 22 Nov 2023 16:57:12 +0800 Subject: [PATCH] * Refactor custom::setDefaultConcept method. --- module/custom/control.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/custom/control.php b/module/custom/control.php index 1b2e365d69..01c8ede7f7 100644 --- a/module/custom/control.php +++ b/module/custom/control.php @@ -218,13 +218,14 @@ class custom extends control } /** + * 设置默认需求概念。 * Set story concept. * * @param int $key * @access public * @return void */ - public function setDefaultConcept($key = 0) + public function setDefaultConcept(int $key = 0) { $this->loadModel('setting')->setItem('system.custom.URSR', $key); return $this->sendSuccess(array('load' => inlink('browsestoryconcept')));