自定义back_url

This commit is contained in:
zyimm 2023-08-24 14:12:29 +08:00
parent 9947f8806f
commit 7e67952874

View File

@ -15,7 +15,7 @@ class Config
{ {
foreach ($configs as $key => $val) { foreach ($configs as $key => $val) {
$method = $this->camelCase($key); $method = 'set'.$this->camelCase($key);
if (method_exists($method, $this)) { if (method_exists($method, $this)) {
call_user_func([$this, $method], $val); call_user_func([$this, $method], $val);
} }