예제 #1
0
        public void GetUCAccount(string phoneNum, StringBuilder _UCAcc)  //modify by jinyeqing 2015/6/9 之前是返回值是空值 现在返回INT
        {
            LogManager.SystemLog.Debug(string.Format("Start UC_SDK_GetUCAccount"));
            int iRet = UCInterface.UC_SDK_GetUCAccount(phoneNum, _UCAcc);

            if (iRet != 0)
            {
                LogManager.SystemLog.Error(string.Format("UC_SDK_GetUCAccount = {0}", iRet));
            }
            LogManager.SystemLog.Debug(string.Format("End UC_SDK_GetUCAccount"));
        }
예제 #2
0
        //modify byjinyeqing  2015/6/10
        public string  GetUCAccountByPhoneNo(string phoneNum, StringBuilder _UCAcc)
        {
            LogManager.SystemLog.Debug(string.Format("Start UC_SDK_GetUCAccount"));
            int iRet = UCInterface.UC_SDK_GetUCAccount(phoneNum, _UCAcc);

            if (iRet != 0)
            {
                LogManager.SystemLog.Error(string.Format("UC_SDK_GetUCAccount = {0}", iRet));
            }
            LogManager.SystemLog.Debug(string.Format("End UC_SDK_GetUCAccount"));
            string UCAcc = _UCAcc.ToString().Trim();

            return(UCAcc);
        }