소스 검색

feat:修改下载接口

AmandaG 1 년 전
부모
커밋
48ef906416
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      src/api/module/common.ts

+ 3 - 2
src/api/module/common.ts

@@ -259,12 +259,13 @@ export const getDashboardFilters = (config: any) => {
 /**
  * 获取首页筛选条件
  */
-export const RevenueDownload = (config: any) => {
+export const RevenueDownload = (params:any,config: any) => {
   return HttpAxios.get(
     `${baseUrl}`,
     {
       action: 'ocean_order',
-      operate: 'revenue'
+      operate: 'revenue',
+      ...params
     },
     config
   )