Commit b779eb93 by duwenjun

Merge branch 'feature/wenjun/20250716_xinlian' into 'master'

联系人不能为空

See merge request !3
parents b8327d3a 9798ff45
......@@ -17,6 +17,7 @@ class SupplierAccountValidator
$account = $request->all();
$rules = [
"supplier_code" => "required",
"contacts_name" => "required",
"mobile" => "required|regex:/^1[0-9][0-9]{9}$/",
"password_raw" => "required",
"a_type" => "required",
......@@ -55,6 +56,7 @@ class SupplierAccountValidator
{
return [
'supplier_code.required' => '请选择一个供应商',
'contacts_name.required' => '联系人不能为空',
'a_type.required' => '类型必须勾选为芯链商家',
'mobile.required' => '登录账号不能为空',
'mobile.regex' => '账号格式必须为手机号',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment