WJC
2019-12-30 f1c3921b08bb22ac6f5db22d620e01d7e8e5c49f
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Common/IMessageCommon.cs
@@ -574,26 +574,28 @@
        /// 根据接口的状态码,翻译返回信息
        /// </summary>
        /// <param name="requestName">接口</param>
        /// <param name="statuCode">状态码</param>
        /// <param name="revertObj">云端返回的数据</param>
        /// <param name="pra">请求参数</param>
        /// <returns></returns>
        public string GetMsgByRequestName(string requestName, string statuCode, object pra)
        public string GetMsgByRequestName(string requestName, Common.ResponseEntity.ResponsePack revertObj, object pra)
        {
            if (IgnoreError == true)
            {
                //无视错误
                return null;
            }
            string statuCode = revertObj.StateCode;
            HdlLogLogic.Current.WriteLog(-1, "接口访问失败:" + UserCenterResourse.NowActionFormID + " " + requestName + " " + statuCode);
            HdlLogLogic.Current.WriteLog(-1, "接口访问失败:" + requestName + " " + statuCode + " " + revertObj.ErrorInfo == null ? string.Empty : revertObj.ErrorInfo);
            HdlLogLogic.Current.WriteLog(-1, "当前激活的界面:" + UserCenterResourse.NowActionFormID);
            if (pra != null)
            {
                //序列化对象
                var requestJson = Newtonsoft.Json.JsonConvert.SerializeObject(pra);
                HdlLogLogic.Current.WriteLog(-1, "参数:" + requestJson);
                HdlLogLogic.Current.WriteLog(-1, "参数:\r\n" + requestJson);
            }
            //共通码
            //共通码
            if (statuCode == "ParameterOrEmpty")
            {
                //请求参数错误