|
@@ -140,7 +140,7 @@
|
|
|
success: function (response) {
|
|
|
// 处理成功响应
|
|
|
const data = response.data.list.data;
|
|
|
- console.log('.xxx', data)
|
|
|
+ //console.log('.xxx', data)
|
|
|
// 在页面中添加数据
|
|
|
const container = $('#orderContainer');
|
|
|
data.forEach(function (item) {
|
|
@@ -155,7 +155,7 @@
|
|
|
</div>
|
|
|
<div class="orderInfo">
|
|
|
<h2 class="orderTitle">${item.goods[0].goods_name}</h2>
|
|
|
- <p class="orderTime">Created at:${item.create_time}</p>
|
|
|
+ <p class="orderTime">${item.create_time}</p>
|
|
|
</div>
|
|
|
</div>`);
|
|
|
});
|