bug fix in sms service with melipayamak

This commit is contained in:
Hesabix 2025-03-13 18:45:13 +00:00
parent 19a40c54ef
commit 1df5618df2

View file

@ -38,7 +38,7 @@ class SMS
$password = $this->registryMGR->get('sms', 'password');
$api = new MelipayamakApi($username, $password);
$sms = $api->sms('soap');
$response = $sms->sendByBalanceNumber($params, $to, $bodyID);
$response = $sms->sendByBaseNumber($params, $to, $bodyID);
$json = json_decode($response);
} catch (\Exception $e) {
echo $e->getMessage();