JLChen
2020-12-20 f77a3add1e7ab266e473da9128bbe5758ba3a890
HDL_ON/DAL/Server/IMessageCommon.cs
@@ -64,7 +64,10 @@
            stateCodeDic["NETWORK_ERROR"] = StringId.FailedRequestServer;
            //数据异常
            stateCodeDic["DATA_EXCEPTION"] = StringId.DataExceptionPleaseTryAgain;
            //与服务器通讯失败
            stateCodeDic[StateCode.NETWORK_ERROR] = StringId.FailedRequestServer;
            //数据异常
            stateCodeDic[StateCode.DATA_EXCEPTION] = StringId.DataExceptionPleaseTryAgain;
            #region 基础服务 新错误码 2020-12-07
            //系统繁忙~请稍后再试~
            stateCodeDic["1"] = StringId.SystemIsBusy;
@@ -275,7 +278,7 @@
                    {
                        Application.RunOnMainThread(() =>
                        {
                            new Alert("", mes, Language.StringByID(StringId.Close)).Show();
                            new Alert("", mes+$" \r\nCode:{statuCode}", Language.StringByID(StringId.Close)).Show();
                        });
                    }
                }
@@ -320,6 +323,16 @@
    public class StateCode
    {
        /// <summary>
        /// 网络请求异常
        /// APP自定义错误码
        /// </summary>
        public const string NETWORK_ERROR = "-1";
        /// <summary>
        /// 数据解析错误
        /// APP自定义错误码
        /// </summary>
        public const string DATA_EXCEPTION = "-2";
        /// <summary>
        /// 请求成功的状态码
        /// </summary>
        public const string SUCCESS = "0";