改进 balances 为 balance
This commit is contained in:
parent
96bc9210f7
commit
82b2a3a954
@ -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,
|
||||
];
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user