LogList.aspx 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogList.aspx.cs" Inherits="LYFZ.WeixinServers.LogList" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title>微信接口调试日志</title>
  7. <script src="/WeiXinAPP/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
  8. </head>
  9. <body>
  10. <div>
  11. <div>
  12. <span>输入要调试的加密锁域名:</span>
  13. <input name="txtDongleDomaine" id="txtDongleDomaine" type="text" value="" style="width:300px;" />
  14. <input name="btnAddDongleDomaine" id="btnAddDongleDomaine" onclick="AddDongleDomaine()" type="button" value="添加" />
  15. <input name="btnDelDongleDomaine" id="btnDelDongleDomaine" onclick="DelDongleDomaine()" type="button" value="删除所有加密锁域名" />
  16. </div>
  17. <ul>
  18. <li><a href="LogList.aspx?logs=y">开启日志功能</a></li>
  19. <li><a href="LogList.aspx?logs=n">关闭日志功能</a></li>
  20. <li><a href="LogList.aspx?logs=del">删除日志功能</a></li>
  21. <%--<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>--%>
  22. </ul>
  23. <h1><%=tempLogs %></h1>
  24. <h2>待调试加密锁域名</h2>
  25. <div>
  26. <%=ddomaineList %>
  27. </div>
  28. <h2>待调试日志信息</h2>
  29. <div>
  30. <%=LYFZ.WXLibrary.CommonHandleClass.GetWeiXinlogs() %>
  31. </div>
  32. </div>
  33. <script type="text/javascript">
  34. $(document).ready(function () {
  35. });
  36. function AddDongleDomaine() {
  37. var ddomaine = $("#txtDongleDomaine").val();
  38. if (ddomaine) {
  39. document.location = "LogList.aspx?type=add&ddomaine=" + ddomaine;
  40. } else {
  41. alert("请输入要调试的加密锁域名");
  42. }
  43. }
  44. function DelDongleDomaine()
  45. {
  46. document.location = "LogList.aspx?type=del";
  47. }
  48. </script>
  49. </body>
  50. </html>