|
...
|
...
|
@@ -105,6 +105,9 @@ class CNoticeController extends BaseController |
|
|
|
'is_sitemap' => $is_sitemap
|
|
|
|
];
|
|
|
|
http_post($c_url, json_encode($param));
|
|
|
|
// $shell = 'curl -X POST ' . escapeshellarg($c_url) . ' -H "Content-Type: application/json"' .
|
|
|
|
// ' -d ' . escapeshellarg(json_encode($param)) . ' > /dev/null 2>&1 &';
|
|
|
|
// shell_exec($shell);
|
|
|
|
}
|
|
|
|
$this->response('更新中请稍后, 更新完成将会发送站内信通知更新结果!');
|
|
|
|
}
|
...
|
...
|
|