diff --git a/src/api.js b/src/api.js
index 076f320..d5cc6dc 100644
--- a/src/api.js
+++ b/src/api.js
@@ -70,7 +70,8 @@ export function getUserNumApi(params) {
export function getOrderNumApi(params) {
- return instacne.get('/statistics/store_order_day', { params })
+ // return instacne.get('/statistics/store_order_day', { params })
+ return instacne.get('/statistics/demo/bottomLeft', { params })
}
export function getSalesRankApi(params) {
return instacne.get('/statistics/sales_ranking', { params })
@@ -87,6 +88,9 @@ export function getTodayOrderAmountApi(params) {
return instacne.get('/statistics/store_order_day_two', { params })
}
+export function getDemoTodayOrderAmountApi(params) {
+ return instacne.get('/statistics/demo/store_order_day_two', { params })
+}
export function getProductCountApi(params) {
return instacne.get('/statistics/product_count', { params })
@@ -95,11 +99,15 @@ export function getProductCountApi(params) {
export function getViewCountApi(params) {
return instacne.get('/statistics/index', { params })
}
-
+export function getDemoViewCountApi(params) {
+ return instacne.get('/statistics/demo/index', { params })
+}
export function getUserTradeCountApi(params) {
return instacne.get('/statistics/user_trade_count', { params })
}
-
+export function getDemoUserTradeCountApi(params) {
+ return instacne.get('/statistics/demo/user_trade_count', { params })
+}
export function getProductCategoryListApi(params) {
return instacne.get('/api/dataview/product_category_list', { params })
}
diff --git a/src/components/index/bottomCenter.vue b/src/components/index/bottomCenter.vue
index 165aa49..5e47b09 100644
--- a/src/components/index/bottomCenter.vue
+++ b/src/components/index/bottomCenter.vue
@@ -4,12 +4,12 @@