Новый текст уведомления о новой точке
This commit is contained in:
parent
8349d3a23f
commit
22b4b67f75
|
|
@ -98,12 +98,12 @@ class JsonController extends Controller
|
||||||
));
|
));
|
||||||
|
|
||||||
$ch = curl_init("http://sms.ru/sms/send");
|
$ch = curl_init("http://sms.ru/sms/send");
|
||||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
|
curl_setopt($ch, CURLOPT_POSTFIELDS, array(
|
||||||
"api_id" => "2c2af6a7-a935-0e84-5952-599f5cd61905",
|
"api_id" => "2c2af6a7-a935-0e84-5952-599f5cd61905",
|
||||||
"to" => "79046106141",
|
"to" => "79046106141",
|
||||||
"text" => "Wikipoints: Новая точка #".$point->id,
|
"text" => "#".$point->id.": ".$point->name,
|
||||||
));
|
));
|
||||||
curl_exec($ch);
|
curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue