个人中心:优化登录后的数据读取

This commit is contained in:
YunaiV
2023-12-28 22:00:07 +08:00
parent 1a07dc4a40
commit c3cc5d653d
12 changed files with 125 additions and 171 deletions
+11
View File
@@ -90,6 +90,17 @@ const OrderApi = {
},
});
},
// 获得交易订单数量
getOrderCount: () => {
return request2({
url: '/app-api/trade/order/get-count',
method: 'GET',
custom: {
showLoading: false,
auth: true,
},
});
},
// 创建单个评论
createOrderItemComment: (data) => {
return request2({