JLChen
2020-11-18 7153e420d66bce0a06b7e972ac3a5c34197fa2e5
HDL_ON/DAL/Server/HttpUtil.cs
@@ -204,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" };
            }
@@ -285,7 +285,7 @@
            }
            catch (Exception ex)
            {
                HDL_ON.Common.Utlis.WriteLine(ex.Message);
                HDL_ON.Utlis.WriteLine(ex.Message);
                return null;
            }
            #endregion
@@ -376,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" };
            }