public UserBalanceInfo QueryUserBalance(string userId)
 {
     try
     {
         var fund   = new FundBusiness();
         var entity = fund.QueryUserBalance(userId);
         return(entity);
     }
     catch (Exception ex)
     {
         throw new Exception("查询我的余额出错 - " + ex.Message, ex);
     }
 }
        /// <summary>
        /// 查询我的余额
        /// </summary>
        /// <param name="userToken"></param>
        /// <returns></returns>
        public UserBalanceInfo QueryMyBalance(string userToken)
        {
            // 验证用户身份及权限
            var userId = GameBizAuthBusiness.ValidateUserAuthentication(userToken);

            if (userId == "admin")
            {
                return(null);
            }
            try
            {
                var fund   = new FundBusiness();
                var entity = fund.QueryUserBalance(userId);
                //return new FundBusiness().QueryUserBalance(userId);
                return(entity);
            }
            catch (Exception ex)
            {
                throw new Exception("查询我的余额出错 - " + ex.Message, ex);
            }
        }