diff --git a/.env.dev b/.env.dev index 365132d..5141f5a 100644 --- a/.env.dev +++ b/.env.dev @@ -16,4 +16,4 @@ VITE_API_BASIC=https://zh.shibeitong.com # VITE_API_BASIC=http://10.10.1.6:8070 VITE_API_HTTP=/api/v1/ # storage -VITE_STORAGE_NAMESPACE = gin-admin_local_ \ No newline at end of file +VITE_STORAGE_NAMESPACE = gin-admin_local_ diff --git a/src/apis/modules/raffleProduct.js b/src/apis/modules/raffleProduct.js index f1747ef..22b72b8 100644 --- a/src/apis/modules/raffleProduct.js +++ b/src/apis/modules/raffleProduct.js @@ -15,4 +15,6 @@ export const delItem = (id) => request.basic.delete(`/api/v1/raffle-products/${i //获取抽奖记录 export const getRaffleOrders = (params) => request.basic.get('/api/v1/raffle-orders', params) // 导出文件 -export const exportFile = () => request.basic.get('/api/v1/apps/common/raffle/Atbrw2334D_FVadfyb435zr55q3') \ No newline at end of file +export const exportFile = () => request.basic.get('/api/v1/apps/common/raffle/Atbrw2334D_FVadfyb435zr55q3') +//核销抽奖 +export const updateProject = (id,params) => request.basic.put(`/api/v1/raffle-orders/${id}`, params) \ No newline at end of file diff --git a/src/views/prizeDraw/lotteryOrders/index.vue b/src/views/prizeDraw/lotteryOrders/index.vue index 42616c3..b8258d5 100644 --- a/src/views/prizeDraw/lotteryOrders/index.vue +++ b/src/views/prizeDraw/lotteryOrders/index.vue @@ -1,46 +1,34 @@