* Refactor custom::setDefaultConcept method.

This commit is contained in:
tianshujie
2023-11-22 16:57:23 +08:00
parent 0fdf559c0b
commit caedf75f2c
+2 -1
View File
@@ -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')));