1
0
mirror of https://github.com/newnius/YAO-portal.git synced 2025-06-06 23:21:55 +00:00

update api name

This commit is contained in:
Newnius 2020-07-11 13:31:02 +08:00
parent 8b54b46d25
commit dd559b06a2

View File

@ -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) {