diff --git a/apis/index.js b/apis/index.js index b627028..daba876 100644 --- a/apis/index.js +++ b/apis/index.js @@ -8,8 +8,8 @@ import store from '@/store' // 基础配置 const config = { - apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', // 测试环境 - // apiUrl : 'https://douhuo.douhuofalv.com/api/', // 正式环境 + // apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', // 测试环境 + apiUrl : 'https://douhuo.douhuofalv.com/api/', // 正式环境 timeout : 60000 } diff --git a/apis/interfaces/synthesis.js b/apis/interfaces/synthesis.js index c05628a..b970766 100644 --- a/apis/interfaces/synthesis.js +++ b/apis/interfaces/synthesis.js @@ -244,6 +244,32 @@ const esignUrl = (data) =>{ }) } +// 年费费-取消订单 +const yearCancel = (order_id) =>{ + return request({ + url: "synthesis/services/order/" + order_id, + method: 'DELETE' + }) +} + + +// 委托单-取消订单 +const entrustCancel = (expand_id) =>{ + return request({ + url: "synthesis/entrust/order/" + expand_id, + method: 'DELETE' + }) +} + +// 拓展单-取消订单 +const expandCancel = (order_id) =>{ + return request({ + url: "synthesis/expand/order/" + order_id, + method: 'DELETE' + }) +} + + export { synthesisCount, synthList, @@ -273,5 +299,8 @@ export { diffPrices, entrustPay, cancelPrices, - esignUrl + esignUrl, + yearCancel, + entrustCancel, + expandCancel } diff --git a/pages/404/404.vue b/pages/404/404.vue index 1ec15e4..e058842 100644 --- a/pages/404/404.vue +++ b/pages/404/404.vue @@ -1,6 +1,6 @@