using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.Config;
|
|
namespace CY.WebForm.Pages.sysglobal
|
{
|
//吴辉
|
//商业配置
|
public partial class BusinessConfig : BasePage
|
{
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
this.txtFirmOrderAgencyFee.Value = WebInfo.Instance.FirmOrderAgencyFee;
|
this.txtCashMinMoney.Value = WebInfo.Instance.CashMinMoney;
|
}
|
|
//提交表单
|
protected void btn_Submit_Config(object sender, EventArgs e)
|
{
|
try
|
{
|
WebInfo.Instance.FirmOrderAgencyFee = this.txtFirmOrderAgencyFee.Value.ToString();
|
WebInfo.Instance.CashMinMoney = this.txtCashMinMoney.Value.ToString();
|
WebInfo.Instance.Update();
|
}
|
catch (Exception ex)
|
{
|
PAGEHandleException(ex);
|
JavaScript.MessageBox("操作失败", this);
|
}
|
JavaScript.MessageBox("操作成功", this);
|
}
|
}
|
}
|