Merge branch 'main' of https://git.ebene.ovh/ebene/radiantproduction
This commit is contained in:
commit
8e32c51b4b
|
|
@ -99,15 +99,20 @@ class ControleurAjaxtesterdisponiblitesms extends Controleur {
|
|||
|
||||
public function envoyersmsesicia($destinataires_c, $message_c)
|
||||
{
|
||||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
|
||||
// problème avec le https
|
||||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
$url = "http://gateway.esicia.com/sendsms/?";
|
||||
|
||||
/*
|
||||
$loginSms = "radiantapi";
|
||||
$motPassSms = "9p1s9w7t";
|
||||
$url = "https://sms.esicia.africa/?";
|
||||
*/
|
||||
|
||||
$postFields = array
|
||||
(
|
||||
'ohereza' =>'Radiant',
|
||||
// 'ohereza' =>'Radiant',
|
||||
'ohereza' =>'RADIANT',
|
||||
'kuri' =>$destinataires_c,
|
||||
'ubutumwa' =>$message_c,
|
||||
// 'client' =>'radiant',
|
||||
|
|
|
|||
|
|
@ -109,57 +109,15 @@ class ControleurPrestations extends Controleur {
|
|||
$this->beneficiaire->init_traiterlaface('2');
|
||||
}
|
||||
|
||||
$arrgs = [
|
||||
'credentials' => [
|
||||
/*
|
||||
'key' => 'AKIARKWWQN5L3CY26JXS',
|
||||
'secret' => 'Mo613SKHaBKSH+IMPoMObafFiavN7kRqgp56gePX',
|
||||
*/
|
||||
/*
|
||||
'key' => 'AKIARKWWQN5LZYQYF5HJ',
|
||||
'secret' => '8dI1CAe+/vMsOJXs11Gv+nSQGMZiRCr0nIeEFS1H',
|
||||
*/
|
||||
'key' => 'AKIA2O2PTXQ7XN5OATO3',
|
||||
'secret' => 'Rzq5mKG80tqfePQYF6iFZ5AMCM/bY2l6i5IxxLzL',
|
||||
],
|
||||
'version' => 'latest',
|
||||
'region' => 'us-west-2'
|
||||
// 'region' => 'Oregon'
|
||||
// 'region' => 'eu-west-1'
|
||||
|
||||
];
|
||||
/*
|
||||
regions
|
||||
us-east-2
|
||||
us-east-1
|
||||
us-west-1
|
||||
us-west-2
|
||||
af-south-1
|
||||
ap-east-1
|
||||
ap-south-2
|
||||
ap-southeast-3
|
||||
ap-southeast-4
|
||||
ap-south-1
|
||||
ap-northeast-3
|
||||
ap-northeast-2
|
||||
ap-southeast-1
|
||||
ap-southeast-2
|
||||
ap-northeast-1
|
||||
ca-central-1
|
||||
eu-central-1
|
||||
eu-west-1
|
||||
eu-west-2
|
||||
eu-south-1
|
||||
eu-west-3
|
||||
eu-south-2
|
||||
eu-north-1
|
||||
eu-central-2
|
||||
me-south-1
|
||||
me-central-1
|
||||
sa-east-1
|
||||
us-gov-east-1
|
||||
us-gov-west-1
|
||||
*/
|
||||
$arrgs = [
|
||||
'credentials' => [
|
||||
'key' => 'AKIAUHRHI7XJ2WK4XJEW',
|
||||
'secret' => 'mTWcw202aE0uP2MghPuLnJsQZaNjSB+OhS1u6Ia/',
|
||||
],
|
||||
'version' => 'latest',
|
||||
'region' => 'us-east-1'
|
||||
];
|
||||
|
||||
|
||||
$client = new RekognitionClient($arrgs);
|
||||
|
||||
|
|
|
|||
|
|
@ -156,18 +156,15 @@ class Cronenvoisms
|
|||
$loginSms = $this->loginSms;
|
||||
$motPassSms = $this->motPassSms;
|
||||
|
||||
// problème avec le https
|
||||
$url = "http://gateway.esicia.com/sendsms/?";
|
||||
// $url = "http://gateway.esicia.com/sendsms/?";
|
||||
// 24/04/2026
|
||||
$url = "https://sms.esicia.africa/?";
|
||||
|
||||
$postFields = array
|
||||
(
|
||||
'ohereza' =>$titreSms_c,
|
||||
'kuri' =>$destinataires_c,
|
||||
'ubutumwa' =>$message_c,
|
||||
|
||||
// 'client' =>'radiant',
|
||||
// 'password' =>'umugozi',
|
||||
|
||||
'client' =>$loginSms,
|
||||
'password' =>$motPassSms,
|
||||
'msgid' =>'kanesin'
|
||||
|
|
@ -180,9 +177,6 @@ class Cronenvoisms
|
|||
$result = file_get_contents($url);
|
||||
|
||||
$this->marquersms($this->idSms, "1");
|
||||
|
||||
// A SUPPRIMER
|
||||
// var_dump($result);
|
||||
}
|
||||
|
||||
public function envoyersmshooza($destinataires_c, $message_c, $titreSms_c)
|
||||
|
|
|
|||
|
|
@ -34,15 +34,10 @@
|
|||
}
|
||||
</script>
|
||||
-->
|
||||
|
||||
</head>
|
||||
|
||||
<body style="width: 98%" >
|
||||
|
||||
<!--
|
||||
controlerPlafondBeneficiaire : <?= $_SESSION['controlerPlafondBeneficiaire'] ?>
|
||||
-->
|
||||
|
||||
<input class="sr-only" type="text" id="racineWeb" name="racineWeb" value="<?= $racineWeb ?>">
|
||||
<input class="sr-only" type="text" id="nomSociete" name="nomSociete" value="<?= $_SESSION['nomSociete'] ?>">
|
||||
<input class="sr-only" type="text" id="dureeSession" name="dureeSession" value="<?= $_SESSION['dureeSession'] ?>">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user