/// <summary>
        /// 获取当前用户的公钥
        /// </summary>
        /// <param name="userId">用户主键</param>
        /// <returns>公钥</returns>
        public string GetPublicKey(BaseUserInfo userInfo, string userId)
        {
            var parameter = ServiceParameter.CreateWithMessage(userInfo
                                                               , MethodBase.GetCurrentMethod()
                                                               , this.serviceName
                                                               , AppMessage.LogOnService_GetPublicKey);
            string result = string.Empty;

            ServiceUtil.ProcessUserCenterReadDb(parameter, (dbHelper) =>
            {
                var userManager = new BaseUserLogOnManager(dbHelper, userInfo);
                result          = userManager.GetPublicKey(userId);
            });
            return(result);
        }