修正验证码不能以0开头的问题

This commit is contained in:
2023-02-24 10:37:29 +08:00
parent e6afaf0913
commit b8dd0463a2
6 changed files with 59 additions and 4 deletions
+5
View File
@@ -16,6 +16,9 @@ class DoctorAccountRequest extends FormRequest
'getDoctorAccountInfo' => [ // 获取我的账户日账单明细数据
'date',
],
'getDoctorWithdrawalRecordList' => [ // 获取医生提现记录列表
'year',
],
];
/**
@@ -33,6 +36,7 @@ class DoctorAccountRequest extends FormRequest
{
return [
'date' => 'required',
'year' => 'required',
];
}
@@ -43,6 +47,7 @@ class DoctorAccountRequest extends FormRequest
{
return [
'date.required' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
'year.required' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
];
}
}