Why can't I alert the pop-up window if my custom verification failure prompt message is in Chinese, but can only be displayed in English and numbers?
public function checkLogin(Request $request)
{
//Initialization return parameters
$status = 0;
$result = '';
$data = $request -> param( );
//Create verification rules
$rule = [
'name|Username' => 'require', //Username is required
'password|Password' => 'require',
'verify|Verification code' => 'require|captcha',
];
//Customized verification failure prompt message
$msg = [
[ > ['require' => '33'],
];
//Verify
$result = $this->validate($data,$rule,$msg );
return ['status'=> $status,'message'=>$result,'data'=>$data];
}