mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-06-06 07:11:54 +00:00
update api name
This commit is contained in:
parent
8b54b46d25
commit
dd559b06a2
@ -345,7 +345,7 @@ function conf_update($option, $value)
|
||||
}
|
||||
|
||||
$spider = new Spider();
|
||||
$spider->doGet(YAO_SCHEDULER_ADDR . '?action=update_conf&option=' . $option . '&value=' . $value);
|
||||
$spider->doGet(YAO_SCHEDULER_ADDR . '?action=conf_update&option=' . $option . '&value=' . $value);
|
||||
$msg = json_decode($spider->getBody(), true);
|
||||
|
||||
if ($msg['code'] !== 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user