您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 年前
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!DOCTYPE html>
  2. <!--
  3. To change this license header, choose License Headers in Project Properties.
  4. To change this template file, choose Tools | Templates
  5. and open the template in the editor.
  6. -->
  7. <html>
  8. <head>
  9. <title>TODO supply a title</title>
  10. <meta charset="UTF-8">
  11. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  12. </head>
  13. <body>
  14. <div>TODO write content</div>
  15. </body>
  16. <script src = "/js/jquery-2.2.4.min.js">
  17. </script>
  18. <script>
  19. $.ajax({
  20. url:'./test_xi.php', //请求地址
  21. type: "post", //请求方式
  22. data:{
  23. type:"distribut_Login",
  24. },
  25. async:false,
  26. dataType: "json",
  27. success: function (data){
  28. console.log(data);
  29. if(data.code == 0){
  30. alert (data);
  31. }else{
  32. alert("登录失败")
  33. }
  34. },
  35. fail: function (date) {
  36. alert('查询失败');
  37. }
  38. });
  39. </script>
  40. </html>