马宇豪
2022-12-23 e126770f6dd3e3d37ff61559c9b691ad9a1abc09
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'
            });
        }
    };
}