username@email.com
2025-05-14 99ddfbcecf0fa2881eb3a91028257eef87dab6de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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);
        }
    }
}