mirror of
https://github.com/newnius/YAO-portal.git
synced 2025-12-13 00:56:44 +00:00
update api name
This commit is contained in:
@@ -345,7 +345,7 @@ function conf_update($option, $value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
$spider = new Spider();
|
$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);
|
$msg = json_decode($spider->getBody(), true);
|
||||||
|
|
||||||
if ($msg['code'] !== 0) {
|
if ($msg['code'] !== 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user