马宇豪
2023-08-16 a8ef7c1a4b2ab6acd91a0520e6258bd753d17f20
src/api/doublePreventSystem/rectify/index.ts
@@ -40,6 +40,12 @@
                url: import.meta.env.VITE_API_URL + `/prevent/device/select/listDevices`,
                method: 'post'
            });
        },
        getCodeByTime: (date: string) => {
            return request({
                url: import.meta.env.VITE_API_URL + `/prevent/dangerManage/count/byCreateDate?date=${date}`,
                method: 'get'
            });
        }
    };
}