<%@ Page Language="c#" ValidateRequest="false" CodeBehind="Basic.aspx.cs" AutoEventWireup="True"
    Inherits="MTCUN.Mobile.WeiXin.Basic" Title="系统设置-基础参数" %>

<%@ Import Namespace="MTCUN" %>
<%@ Register Src="../User_Col/col_Header.ascx" TagName="col_Header" TagPrefix="uc3" %>
<%@ Register Src="../../UserCol/CodeBox.ascx" TagName="CodeBox" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link id="mobileCss" runat="server" href="../themes/mobile.css" rel="stylesheet"
        type="text/css" />
</head>
<body>
    <form id="Form1" method="post" runat="server" enctype="multipart/form-data">
        <uc3:col_Header ID="col_Header1" runat="server" SelectedModule="xitong" />
        <div id="web_page_contents">
            <div class="search biao_zhun_suo_jin">
                <div class="kuai_show">
                <table class="table" border="0" cellspacing="0">
                    <tr>
                        <th colspan="2">微信基础设置
                        </th>
                    </tr>
                    <tr>
                        <td style="width: 140px">微信公众号AppID：
                        </td>
                        <td>
                            <asp:TextBox ID="tbxWX_AppID" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>微信公众号AppSecret：
                        </td>
                        <td>
                            <asp:TextBox ID="tbxWX_AppSecret" runat="server"  CssClass="width350"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>微信支付apikey：
                        </td>
                        <td>
                            <asp:TextBox ID="tbxWX_APIKey" runat="server" CssClass="width350"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>微信支付商户号：
                        </td>
                        <td>
                            <asp:TextBox ID="tbxWX_MCH_ID" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>微信服务器配置：</td>
                        <td>
                            <div class="striking">
                                <table>
                                    <tr>
                                        <td>验证服务器：</td>
                                        <td>
                                            <asp:DropDownList ID="ddlWX_Valid" runat="server">
                                                <asp:ListItem Value="0">关闭</asp:ListItem>
                                                <asp:ListItem Value="1">开启</asp:ListItem>
                                            </asp:DropDownList>第一次使用需要开启，在微信公众号中验证成功后需要关闭。</td>
                                    </tr>
                                    <tr>
                                        <td>URL(服务器地址)：</td>
                                        <td>
                                            <asp:TextBox ID="tbxWX_ServerUrl" runat="server"  Enabled="False" CssClass="width350"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>Token(令牌)：</td>
                                        <td>
                                            <asp:TextBox ID="tbxWX_Token" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>公众号支付授权目录：</td>
                                        <td>
                                            <asp:TextBox ID="tbxWX_PayUrl" runat="server"  Enabled="False" CssClass="width350"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>网页授权回调页面域名：</td>
                                        <td>
                                            <asp:TextBox ID="tbxWX_WebLoginUrl" runat="server"  Enabled="False" CssClass="width300"></asp:TextBox>
                                            <br />
                                            用户在网页授权页同意授权给公众号后，微信会将授权数据传给一个回调页面，回调页面需在此域名下，以确保安全可靠。回调页面域名不支持IP地址。
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <label class="lab_button_kuan">
                                <asp:Button ID="btnReset" runat="server" Text="重启" OnClick="btnReset_Click"></asp:Button>
                            </label>
                        </td>
                    </tr>
                </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
