From 7153e420d66bce0a06b7e972ac3a5c34197fa2e5 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 18 十一月 2020 20:02:13 +0800
Subject: [PATCH] 2020-11-18 1.修改完善手机绑定和解绑。
---
HDL_ON/DAL/Server/HttpUtil.cs | 18 +++++++-----------
1 files changed, 7 insertions(+), 11 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs
index 1deb23f..1e7e0e2 100644
--- a/HDL_ON/DAL/Server/HttpUtil.cs
+++ b/HDL_ON/DAL/Server/HttpUtil.cs
@@ -12,10 +12,6 @@
public class HttpUtil
{
#region HttpUtil 鍏ㄥ眬甯搁噺
- /// <summary>
- /// 璇锋眰鎴愬姛鐨勭姸鎬佺爜
- /// </summary>
- public const string SUCCESS_CODE = "0";
///// <summary>
///// API_HTTPS
///// </summary>
@@ -208,20 +204,20 @@
}
catch (Exception ex)
{
- HDL_ON.Common.Utlis.WriteLine(ex.Message);
+ HDL_ON.Utlis.WriteLine(ex.Message);
return new ResponsePackNew() { Code = "DATA_EXCEPTION" };
}
}
else
{
- HDL_ON.Common.Utlis.WriteLine(response.Content);
+ HDL_ON.Utlis.WriteLine(response.Content);
return new ResponsePackNew() { Code = "NETWORK_ERROR" };
}
}
catch (Exception ex)
{
- HDL_ON.Common.Utlis.WriteLine(ex.Message);
+ HDL_ON.Utlis.WriteLine(ex.Message);
return new ResponsePackNew() { Code = "NETWORK_ERROR" };
}
@@ -289,7 +285,7 @@
}
catch (Exception ex)
{
- HDL_ON.Common.Utlis.WriteLine(ex.Message);
+ HDL_ON.Utlis.WriteLine(ex.Message);
return null;
}
#endregion
@@ -380,20 +376,20 @@
}
catch (Exception ex)
{
- HDL_ON.Common.Utlis.WriteLine(ex.Message);
+ HDL_ON.Utlis.WriteLine(ex.Message);
return new ResponsePackNew() { Code = "DATA_EXCEPTION" };
}
}
else
{
- HDL_ON.Common.Utlis.WriteLine(response.Content);
+ HDL_ON.Utlis.WriteLine(response.Content);
return new ResponsePackNew() { Code = "NETWORK_ERROR" };
}
}
catch (Exception ex)
{
- HDL_ON.Common.Utlis.WriteLine(ex.Message);
+ HDL_ON.Utlis.WriteLine(ex.Message);
return new ResponsePackNew() { Code = "NETWORK_ERROR" };
}
--
Gitblit v1.8.0