'email' => 'unique:users,email_address,NULL,id,account_id,1'
例:
public static function validateOrder(array $data, $id = '')
{
return \Validator::make($data, [
'name' => 'required|unique:cube_dsp_orders,name,'.$id.',id,delstatus,0',
], [
'required' => ':attribute 不能为空',
'unique' => '该:attribute已存在'
], [
'name' => '名称',
]);
}