12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogList.aspx.cs" Inherits="LYFZ.WeixinServers.LogList" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>微信接口调试日志</title>
- <script src="/WeiXinAPP/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
- </head>
- <body>
- <div>
- <div>
- <span>输入要调试的加密锁域名:</span>
- <input name="txtDongleDomaine" id="txtDongleDomaine" type="text" value="" style="width:300px;" />
- <input name="btnAddDongleDomaine" id="btnAddDongleDomaine" onclick="AddDongleDomaine()" type="button" value="添加" />
- <input name="btnDelDongleDomaine" id="btnDelDongleDomaine" onclick="DelDongleDomaine()" type="button" value="删除所有加密锁域名" />
- </div>
- <ul>
- <li><a href="LogList.aspx?logs=y">开启日志功能</a></li>
- <li><a href="LogList.aspx?logs=n">关闭日志功能</a></li>
- <li><a href="LogList.aspx?logs=del">删除日志功能</a></li>
- <%--<li><a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx52bf4acbefcf4653&redirect_uri=http://wx.lyfz.net/LogList.aspx&response_type=code&scope=snsapi_base&state=lyfz&component_appid=wx5aabcf2a0eb7e7b4#wechat_redirect">代公众号发起网页授权测试</a></li>--%>
- </ul>
- <h1><%=tempLogs %></h1>
- <h2>待调试加密锁域名</h2>
- <div>
- <%=ddomaineList %>
- </div>
- <h2>待调试日志信息</h2>
- <div>
- <%=LYFZ.WXLibrary.CommonHandleClass.GetWeiXinlogs() %>
- </div>
-
- </div>
- <script type="text/javascript">
- $(document).ready(function () {
- });
- function AddDongleDomaine() {
- var ddomaine = $("#txtDongleDomaine").val();
- if (ddomaine) {
- document.location = "LogList.aspx?type=add&ddomaine=" + ddomaine;
- } else {
- alert("请输入要调试的加密锁域名");
- }
-
- }
- function DelDongleDomaine()
- {
- document.location = "LogList.aspx?type=del";
- }
- </script>
- </body>
- </html>
|