using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL;
|
using CY.Infrastructure.DESEncrypt;
|
using CY.Config;
|
using CY.Infrastructure.Common;
|
namespace CY.WebForm.Pages.sysglobal
|
{
|
//吴辉
|
//财付通设置
|
public partial class Sys_TenpayConfig : BasePage
|
{
|
//财付通密码 赋值使用
|
public string page_SMSPwd = "";
|
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
page_SMSPwd = WebInfo.Instance.Tenpay_key;
|
this.txtSMSLoginName.Value = WebInfo.Instance.Tenpay_account;
|
}
|
}
|
|
//表单提交
|
protected void btn_Submit_Config(object sender, EventArgs e)
|
{
|
try
|
{
|
WebInfo.Instance.Tenpay_account = this.txtSMSLoginName.Value.ToString();
|
WebInfo.Instance.Tenpay_key = this.txtSMSPwd.Value.ToString();
|
page_SMSPwd = this.txtSMSPwd.Value.ToString();
|
WebInfo.Instance.Update();
|
}
|
catch (Exception ex)
|
{
|
PAGEHandleException(ex);
|
JavaScript.MessageBox("操作失败", this);
|
}
|
JavaScript.MessageBox("操作成功", this);
|
}
|
}
|
}
|