作者 ZhengBing He

合并分支 'workorder' 到 'master'

ok



查看合并请求 !2437
... ... @@ -16,6 +16,16 @@ class AsideTicketStoreRequest extends FormRequest
return true;
}
protected function prepareForValidation()
{
if ($this->has('close_wechat')) {
$this->merge([
// 将 "true", "1", "on", "yes" 等转换为 true,其他转换为 false
'close_wechat' => filter_var($this->close_wechat, FILTER_VALIDATE_BOOLEAN),
]);
}
}
/**
* Get the validation rules that apply to the request.
*
... ...