diff --git a/.env.production b/.env.production index 980617a..0d7b5fa 100644 --- a/.env.production +++ b/.env.production @@ -5,4 +5,5 @@ VUE_APP_TITLE = 小鹿骑行 ENV = 'production' # 小鹿骑行/生产环境 -VUE_APP_BASE_API = '/prod-api' +# VUE_APP_BASE_API = '/prod-api' +VUE_APP_BASE_API = 'https://testlu.chuangtewl.com/prod-api' diff --git a/src/api/system/order.js b/src/api/system/order.js index 1d1c36a..970e54f 100644 --- a/src/api/system/order.js +++ b/src/api/system/order.js @@ -17,6 +17,15 @@ export function getOrder(orderId) { }) } +// 退款 +export function refund(data) { + return request({ + url: '/appVerify/refund', + method: 'put', + data: data + }) +} + // 新增订单 export function addOrder(data) { return request({ diff --git a/src/views/system/device/index.vue b/src/views/system/device/index.vue index 940b5c4..c089a9f 100644 --- a/src/views/system/device/index.vue +++ b/src/views/system/device/index.vue @@ -269,14 +269,14 @@ - 开锁 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 重置 @@ -303,15 +155,10 @@ - - - - - + + - - - - + - -