作者 刘锟

update

... ... @@ -292,8 +292,12 @@ class Temp extends Command
}
} else {
//其他服务器:请求对应C端接口
$c_url = $domain . '/api/update_page/?project_id=' . $project_id . '&type=3';
$re = http_get($c_url);
$c_url = $domain . '/api/update_page/';
$c_params = [
'project_id' => $project_id,
'type' => 3
];
$re = http_post($c_url, $c_params, [], true);
$this->output($re['message'] ?? '');
}
$this->output('项目id:' . $project_id . ',end');
... ...