Commit aaba269c authored by 潘栩锋's avatar 潘栩锋 🚴

优化 WarningSystem Add简化, 默认就是Add(ON), Remove 就是 Add(OFF)

parent 858f23f9
......@@ -64,7 +64,10 @@ namespace FLY.OBJComponents.Server
}
#region IWarningServiceSimple
public void Add(int errcode, string description)
{
Add(errcode, description, ERR_STATE.ON, "");
}
public void Add(int errcode, string description, ERR_STATE state)
{
......
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 to comment