diff --git a/demo/src/main/resources/static/js/myorder.js b/demo/src/main/resources/static/js/myorder.js index c93e540..f12e1b6 100644 --- a/demo/src/main/resources/static/js/myorder.js +++ b/demo/src/main/resources/static/js/myorder.js @@ -1,6 +1,6 @@ window.onload(function requestData(){ $.ajax({ - url: "/search", + url: "/orderlist", type: "post", dataType: "json", success: function(data){ @@ -13,6 +13,7 @@ window.onload(function requestData(){ }); }); + //展示数据 function showData(data) { var str = "";//定义用于拼接的字符串 diff --git a/demo/src/main/resources/static/myOrders.html b/demo/src/main/resources/static/myOrders.html index 138130e..cdfe8f1 100644 --- a/demo/src/main/resources/static/myOrders.html +++ b/demo/src/main/resources/static/myOrders.html @@ -8,6 +8,8 @@ + +