部分问题修复,修改数据统计接口
This commit is contained in:
13
http/api/account/tableOrderStatistic.js
Normal file
13
http/api/account/tableOrderStatistic.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import http from "@/http/http.js";
|
||||
const request = http.request;
|
||||
const urlType = "account";
|
||||
|
||||
export function tableOrderStatistic(data) {
|
||||
return request({
|
||||
url: `${urlType}/admin/tableOrderStatistic`,
|
||||
method: "GET",
|
||||
data: {
|
||||
...data,
|
||||
},
|
||||
});
|
||||
}
|
||||
23
http/api/order/summary.js
Normal file
23
http/api/order/summary.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import http from "@/http/http.js";
|
||||
const request = http.request;
|
||||
const urlType = "order";
|
||||
|
||||
export function tableSummaryList(data) {
|
||||
return request({
|
||||
url: `${urlType}/admin/table/summary/list`,
|
||||
method: "GET",
|
||||
data: {
|
||||
...data,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
export function saleSummaryPage(data) {
|
||||
return request({
|
||||
url: `${urlType}/admin/sale/summary/page`,
|
||||
method: "GET",
|
||||
data: {
|
||||
...data,
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user