diff --git a/OSS.Common/Resp/RespException.cs b/OSS.Common/Resp/RespException.cs
index e3f0200..bc0f233 100644
--- a/OSS.Common/Resp/RespException.cs
+++ b/OSS.Common/Resp/RespException.cs
@@ -76,41 +76,6 @@ namespace OSS.Common.Resp
}
- ///
- /// 转化为结果实例
- ///
- ///
- public Resp ConvertToReult()
- {
- return new Resp().WithResp(sys_ret,ret,msg);
- }
-
- ///
- /// 转化为结果实例
- ///
- ///
- ///
- public Resp ConvertToReult()
- {
- return new Resp().WithResp(sys_ret, ret, msg);
- }
-
- ///
- /// 转化为结果实例
- ///
- ///
- ///
- public TRes ConvertToReultInherit()
- where TRes:Resp,new()
- {
- var res = new TRes
- {
- ret = ret,
- sys_ret = sys_ret,
- msg = msg
- };
- return res;
- }
}
diff --git a/OSS.Common/Resp/RespMap.cs b/OSS.Common/Resp/RespMap.cs
index 65bec03..4172c13 100644
--- a/OSS.Common/Resp/RespMap.cs
+++ b/OSS.Common/Resp/RespMap.cs
@@ -192,7 +192,7 @@ namespace OSS.Common.Resp
///
///
///
- public static TRes WithExeption(this TRes res, RespException rExc)
+ public static TRes WithException(this TRes res, RespException rExc)
where TRes : Resp
{
return res.WithResp(rExc.sys_ret, rExc.ret, rExc.msg);