修正验证码不能以0开头的问题
This commit is contained in:
@@ -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),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user