Browse Source

bug 修复

lilei 4 years ago
parent
commit
f3172402c9
1 changed files with 9 additions and 1 deletions
  1. 9 1
      api/order.js

+ 9 - 1
api/order.js

@@ -42,4 +42,12 @@ export const orderDetail = params => {
     url: `order/find/${params.id}`,
     url: `order/find/${params.id}`,
     method: 'get',
     method: 'get',
   })
   })
-};
+};
+
+// 查询当前是否有未完成的订单
+export const getUnFinishedOrder = params => {
+	return axios.request({
+	  url: `order/unFinishedOrderRunStatus`,
+	  method: 'get',
+	})
+}