From a92f3c4d10bebbdc55270e72ccd97cd1ba7d4e28 Mon Sep 17 00:00:00 2001 From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com> Date: Wed, 26 Feb 2020 16:40:55 +0800 Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/nsjcy/frontEnd/nsjcy --- SunshineIns/src/fetch/activeManage.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/SunshineIns/src/fetch/activeManage.js b/SunshineIns/src/fetch/activeManage.js index 4dc87bf..1995e10 100644 --- a/SunshineIns/src/fetch/activeManage.js +++ b/SunshineIns/src/fetch/activeManage.js @@ -1,6 +1,6 @@ import fetch from './_fetch'; import { message } from 'antd'; -export default () => fetch(`api/activity/finds?`) +export default ({ activityType, activityStatus, startTime, endTime }) => fetch(`api/activity/finds?activityType=${activityType||''}&activityStatus=${activityStatus || ''}&startTime=${startTime || ''}&endTime=${endTime || ''}`) .then( json => json.data ) -- Gitblit v1.8.0