mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 13:52:24 +09:00
Allow adding arbitrary extra vars to SMS
This commit is contained in:
parent
98b32a2572
commit
f4c4ec5ec6
3 changed files with 63 additions and 0 deletions
|
|
@ -99,6 +99,10 @@ class CoolSMS extends Base implements \Rhymix\Framework\Drivers\SMSInterface
|
|||
{
|
||||
$options->image = $message->image;
|
||||
}
|
||||
foreach ($original->getExtraVars() as $key => $value)
|
||||
{
|
||||
$options->$key = $value;
|
||||
}
|
||||
$result = $sender->send($options);
|
||||
if (!$result->success_count)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue