public ActionResult ConfigManagement()
        {
            List <Master_Configuration> configList = new List <Master_Configuration>();

            configList = _configManagementLogic.GetConfigList();
            Sys_Role_Module roleModuleModel = _authorityManageLogic.GetRoleModulePermission(Common.CurrentUser.GetCurrentUser().Role, Common.Tools.ModuleVguid.ConfigModule);

            ViewBag.CurrentModulePermission = roleModuleModel;
            ViewBag.configList = configList;
            return(View());
        }
        /// <summary>
        /// 固定金额支付手机界面
        /// </summary>
        /// <param name="code"></param>
        /// <returns></returns>
        public ActionResult FixedPay(string code)
        {
            string accessToken     = WeChatTools.GetAccessoken();
            string userInfoStr     = WeChatTools.GetUserInfoByCode(accessToken, code);
            var    userInfo        = Common.JsonHelper.JsonToModel <U_WeChatUserID>(userInfoStr); //用户ID
            var    personInfoModel = _wl.GetUserInfo(userInfo.UserId);                            //获取人员表信息

            ViewData["vguid"] = personInfoModel.Vguid;

            //Business_Personnel_Information personInfoModel = new Business_Personnel_Information();
            //personInfoModel.Vguid = Guid.Parse("B0167926-C8AF-4AAE-9B18-573EEEDFE740");
            //ViewData["vguid"] = personInfoModel.Vguid;

            #region 获取openid

            var openInfoStr = WeChatTools.ConvertToOpenidByUserId(accessToken, userInfo.UserId);
            var openInfo    = Common.JsonHelper.JsonToModel <U_OpenInfo>(openInfoStr);
            var openidExt   = openInfo.openid;
            ViewData["openid"] = openidExt;

            #endregion

            #region 查询车牌号是否为空
            ViewData["payException"] = "0";
            //var driverInfo = _weChatRevenueLogic.GetDriverInfo(personInfoModel);
            //if (driverInfo == null)
            //{
            //    ViewData["payException"] = "1";
            //}
            #endregion


            var configList = _configManagementLogic.GetConfigList();
            var fee        = configList[13].ConfigValue;
            ViewData["driverPay"] = fee;
            var driverPayfee = double.Parse(fee.Trim('%')) / 100;   //获取司机支付的手续费

            string pushContentVguid = Request.QueryString["Vguid"]; //推送的主键
            ViewData["pushContentVguid"] = pushContentVguid;
            var pushContentModel = _pl.GetPushDetail(pushContentVguid);

            bool isValidTime = false; //未过有效期
            if (pushContentModel != null)
            {
                //判断是否已经支付过
                bool isExist = _weChatRevenueLogic.HasPaymentHistory(personInfoModel.Vguid, pushContentModel.VGUID, 1);
                ViewData["isExist"] = isExist ? "1" : "0";
                #region 判断是否过了有效期

                if (pushContentModel.PeriodOfValidity != null)
                {
                    if (DateTime.Now > pushContentModel.PeriodOfValidity)
                    {
                        isValidTime = true; //已过有效期
                    }
                }

                #endregion
            }
            decimal caBalance = Convert.ToDecimal(pushContentModel.Message);

            decimal currentAccountBalance = FormatData(caBalance);

            pushContentModel.Message = currentAccountBalance.ToString();

            var handlingFee = currentAccountBalance * (decimal)driverPayfee;
            handlingFee         = FormatData(handlingFee);
            ViewBag.HandlingFee = handlingFee;


            ViewBag.TotalAmount = currentAccountBalance + handlingFee;

            ViewBag.isValidTime          = isValidTime;
            ViewData["PushContentModel"] = pushContentModel;
            return(View());
        }