add product sku
This commit is contained in:
@@ -2,6 +2,7 @@ import { axios } from "timi-web-api";
|
||||
import type {
|
||||
GaoCustomerOrderProductRankView,
|
||||
GaoCustomerOrderRankView,
|
||||
GaoCustomerOrderSkuRankView,
|
||||
GaoCustomerRepeatDailyStatView,
|
||||
GaoCustomerRepeatIntervalStatView,
|
||||
GaoSalesOrderCalendarStatView,
|
||||
@@ -47,6 +48,10 @@ async function customerProductRank(req: GaoSalesOrderChartReq): Promise<GaoCusto
|
||||
return await requestList("customer-product-rank", "/customer/product/rank", req);
|
||||
}
|
||||
|
||||
async function customerSkuRank(req: GaoSalesOrderChartReq): Promise<GaoCustomerOrderSkuRankView[]> {
|
||||
return await requestList("customer-sku-rank", "/customer/sku/rank", req);
|
||||
}
|
||||
|
||||
async function consumptionDaily(req: GaoSalesOrderChartReq): Promise<GaoSalesOrderConsumptionDailyStatView[]> {
|
||||
return await requestList("customer-consumption-daily", "/customer/consumption/daily", req);
|
||||
}
|
||||
@@ -76,6 +81,7 @@ export default {
|
||||
receivable,
|
||||
customerRank,
|
||||
customerProductRank,
|
||||
customerSkuRank,
|
||||
consumptionDaily,
|
||||
calendar,
|
||||
repeatDaily,
|
||||
|
||||
Reference in New Issue
Block a user