30 lines
701 B
PHP
30 lines
701 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class AdminUserResetPwdEvent implements ShouldQueue
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
public string $mobile;
|
|
public string $password;
|
|
public string $remark;
|
|
|
|
/**
|
|
* @param string $mobile
|
|
* @param string $password
|
|
*/
|
|
public function __construct(string $mobile, string $password)
|
|
{
|
|
$this->mobile = $mobile;
|
|
$this->password = $password;
|
|
$this->remark = "密码已重置,您的新密码是";
|
|
}
|
|
|
|
|
|
} |