改进 balances 为 balance

This commit is contained in:
iVampireSP.com 2022-11-18 16:19:00 +08:00
parent 96bc9210f7
commit 82b2a3a954
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 7 additions and 7 deletions

View File

@ -31,10 +31,10 @@ public function __construct()
*
* @return array
*/
public function via($notifiable)
{
return [WeComRobotChannel::class];
}
// public function via($notifiable)
// {
// // return [WeComRobotChannel::class];
// }
public function toGroup($notifiable)
{
@ -50,7 +50,7 @@ public function toGroup($notifiable)
$data = [
'balances' => $notifiable,
'balance' => $notifiable,
'user' => $user,
];

View File

@ -1,3 +1,3 @@
@if ($balances->paid_at !== null)
{{ $user->name }} {{ $balance->paid_at->toDateTimeString() }} 充值了 {{ $balances->amount }} 元。
@if ($balance->paid_at !== null)
{{ $user->name }} {{ $balance->paid_at->toDateTimeString() }} 充值了 {{ $balance->amount }} 元。
@endif