diff --git a/src/utils/http/config.ts b/src/utils/http/config.ts index 87679bb..e797c68 100644 --- a/src/utils/http/config.ts +++ b/src/utils/http/config.ts @@ -1,4 +1,4 @@ -export const URL = "https://yushengapi.qxyushen.top"; -// export const URL = "https://test.vespa.qxyushen.top"; +// export const URL = "https://yushengapi.qxyushen.top"; +export const URL = "https://test.vespa.qxyushen.top"; // 声网appId 在这里换 export const appIdBySw = '02f7339ec98947deaeab173599891932'; \ No newline at end of file diff --git a/src/views/room/roomList/detail.vue b/src/views/room/roomList/detail.vue index af46be5..f52143b 100644 --- a/src/views/room/roomList/detail.vue +++ b/src/views/room/roomList/detail.vue @@ -64,7 +64,7 @@ const getFlowData = async (index) => { etime: dateSearchValue.value ? dateSearchValue.value.length ? dateSearchValue.value[1] : '' : '', }) if (code) { - PriceTotal.value = data.total.total_price + PriceTotal.value = data.total flowTableList.value = data.lists; pagination.value.total = data.count; pagination.value.currentPage = data.page; @@ -255,8 +255,10 @@ const exportExcal = async () => {
导出当前数据
- 幸运值流水总计:{{ PriceTotal }} ;流水总计:{{ PriceTotal - }} 金币 + 幸运值流水总计:{{ PriceTotal.total_lucky_coin }} ;流水总计:{{ + PriceTotal.total_price + }} 金币
- + diff --git a/vite.config.ts b/vite.config.ts index be1425d..e52c18a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -37,8 +37,8 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { proxyReq.method = 'OPTIONS'; // https://test.vespa.qxyushen.top // 'http://yushenggliht.qxyushen.top' - res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top'); - // res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top'); + // res.setHeader('Access-Control-Allow-Origin', 'http://yushenggliht.qxyushen.top'); + res.setHeader('Access-Control-Allow-Origin', 'https://test.vespa.qxyushen.top'); res.setHeader('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS'); res.setHeader('Access-Control-Allow-Headers', 'Content-Type, Authorization'); res.end();