コード例 #1
0
        public Dictionary <string, Object> CheckMemLoginIDRepeat(string MemLoginID)
        {
            try
            {
                Dictionary <string, Object> dic = new Dictionary <string, object>();

                dynamic resultModel = CommonRequest.ApiCheckMemLoginIDRepeat(MemLoginID);
                if (resultModel != null && resultModel.Result)
                {
                    dic.Add("Result", "202");
                }
                else
                {
                    dic.Add("Result", "404");
                }

                return(dic);
            }
            catch (Exception e)
            {
                logger.Error("验证用户名是否重复接口异常:" + e.Message);
            }
            return(null);
        }