正在显示
1 个修改的文件
包含
6 行增加
和
2 行删除
| @@ -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'); |
-
请 注册 或 登录 后发表评论