Skip to content

Commit

Permalink
fixed config
Browse files Browse the repository at this point in the history
  • Loading branch information
farzady committed Feb 1, 2024
1 parent e5af63d commit 4716945
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Helpers/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ function cardCount()
function sendSMSText($number, $content)
{

$url = 'http://rest.payamak-panel.com/api/SendSMS/SendSMS';
$url = config('app.sms_url');

$options = array(
'content-type' => 'application/x-www-form-urlencoded',
Expand Down Expand Up @@ -797,15 +797,15 @@ function sendSMSText($number, $content)
function sendSMSText2($number, $content)
{

$url = 'http://ara11.ir:3002/api/v1/send';
$url = config('app.sms_url');

$options = array(
'content-type' => 'application/x-www-form-urlencoded',
'cache-control' => 'no-cache'
);
$fields_string = http_build_query(array(
'user' => 'mahyar',
'password' => 'MahGold;123',
'user' => config('app.sms_user'),
'password' => config('app.sms_pass'),
'number' => $number,
'text' => $content,
'isflash' => 'false'
Expand Down

0 comments on commit 4716945

Please sign in to comment.