提交
This commit is contained in:
20
api_v1/Appointment.Entity/ValidateAttribute/IsIgnoreHtml.cs
Normal file
20
api_v1/Appointment.Entity/ValidateAttribute/IsIgnoreHtml.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Appointment.Entity.ValidateAttribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 忽略HTML标签
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Add:yuangb 2019-10-15
|
||||
/// </remarks>
|
||||
public class IsIgnoreHtml : ValidateAttribute
|
||||
{
|
||||
public override string Validate(object oValue)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user