Commit 485fbd44 authored by 杨梦雅's avatar 杨梦雅

B端数据需求

parent e67b52b2
...@@ -36,7 +36,7 @@ const API = { ...@@ -36,7 +36,7 @@ const API = {
downloadFile: (params) => request("downloadFile", "POST", params), downloadFile: (params) => request("downloadFile", "POST", params),
getAwardsList: (params) => request("getAwardsList", "POST", params), getAwardsList: (params) => request("getAwardsList", "POST", params),
// 导出数据需求 // 导出数据需求
getStats: () => request("getStats", "POST", params, { cloudFnType: 'c' }) getStats: (params) => request("getStats", "POST", params, { cloudFnType: 'c' })
}; };
export default API; export default API;
...@@ -2,7 +2,7 @@ const { ...@@ -2,7 +2,7 @@ const {
cloud cloud
} = getApp(); } = getApp();
import { requestType, cloudFnName } from '../config'; import { requestType, cloudFnName, cCloudFnName } from '../config';
const request = (url, method, params, ext = {}) => { const request = (url, method, params, ext = {}) => {
const { const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment