作者 刘锟

合并分支 'akun' 到 'master'

update



查看合并请求 !916
@@ -292,8 +292,12 @@ class Temp extends Command @@ -292,8 +292,12 @@ class Temp extends Command
292 } 292 }
293 } else { 293 } else {
294 //其他服务器:请求对应C端接口 294 //其他服务器:请求对应C端接口
295 - $c_url = $domain . '/api/update_page/?project_id=' . $project_id . '&type=3';  
296 - $re = http_get($c_url); 295 + $c_url = $domain . '/api/update_page/';
  296 + $c_params = [
  297 + 'project_id' => $project_id,
  298 + 'type' => 3
  299 + ];
  300 + $re = http_post($c_url, $c_params, [], true);
297 $this->output($re['message'] ?? ''); 301 $this->output($re['message'] ?? '');
298 } 302 }
299 $this->output('项目id:' . $project_id . ',end'); 303 $this->output('项目id:' . $project_id . ',end');