lrf402788946 4 years ago
parent
commit
69fa0e31e6
1 changed files with 14 additions and 0 deletions
  1. 14 0
      public/home.html

+ 14 - 0
public/home.html

@@ -64,7 +64,21 @@
   </div>
   <script src="static/home/js/stats.min.js"></script>
   <script src="static/home/js/three.min.js"></script>
+  <script src="static/js/jquery-1.8.3.min.js"></script>
   <script>
+    window.onload = function () {
+      $.ajax({
+        url:'http://free.liaoningdoupo.com/api/market/notice',
+        type:"GET",
+        contentType:'application/json',
+        success:function(res){
+          console.log(res);
+        },
+        error:function (e) {
+          console.error(e)
+        }
+      })
+    }
     function ThreeJSCanvas(CANVAS_ID) {
 
       var SCREEN_HEIGHT = Math.min(window.innerWidth, window.innerHeight);