hookehuyr

fix: 在获取订单列表时添加已审核状态过滤

1 <!-- 1 <!--
2 * @Date: 2025-03-21 12:17:03 2 * @Date: 2025-03-21 12:17:03
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-05-12 09:30:50 4 + * @LastEditTime: 2025-06-10 09:56:32
5 * @FilePath: /mlaj/src/views/courses/MyCoursesPage.vue 5 * @FilePath: /mlaj/src/views/courses/MyCoursesPage.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -56,7 +56,8 @@ const onLoad = async () => { ...@@ -56,7 +56,8 @@ const onLoad = async () => {
56 const res = await getOrderListAPI({ 56 const res = await getOrderListAPI({
57 limit: limit.value, 57 limit: limit.value,
58 page: nextPage, 58 page: nextPage,
59 - status: 'PAY' // 只获取已支付的订单 59 + status: 'PAY', // 只获取已支付的订单
60 + approval_status: 'ENABLE' // 只获取已审核的订单
60 }) 61 })
61 if (res.code) { 62 if (res.code) {
62 // 从订单中提取所有课程信息 63 // 从订单中提取所有课程信息
......