subject('账户余额过低') ->line('您的账户余额过低。还剩下 '.$user->balance.' 元。') ->action('充值', route('balances.index')) ->line('当您的账户欠费时,您的服务将会被暂停。'); } /** * Get the array representation of the notification. */ public function toArray(User $user): array { return [ 'title' => '账户余额过低', 'message' => '您的账户余额过低。还剩下'.$user->balance.'元。当您的账户欠费时,您的服务将会被暂停。', ]; } }