Laravel 8 Unicode 内容
2021-07-19 10:56 更新
如果你的短信消息包含 Unicode 字符,需要在构造 NexmoMessage 实例时调用 unicode 方法:
/**
* Get the Nexmo / SMS representation of the notification.
*
* @param mixed $notifiable
* @return NexmoMessage
*/
public function toNexmo($notifiable)
{
return (new NexmoMessage)
->content('Your unicode message')
->unicode();
} 以上内容是否对您有帮助:

免费 AI IDE


更多建议: