From 215823d4a764d87b3e4c13767f748e61f06aebfc Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期六, 07 五月 2022 12:11:15 +0800 Subject: [PATCH] add sub user reset --- src/api/timeRule.ts | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/timeRule.ts b/src/api/timeRule.ts index 646c729..87798f7 100644 --- a/src/api/timeRule.ts +++ b/src/api/timeRule.ts @@ -2,22 +2,22 @@ export const getAllTimeRule = () => { return request({ - url: "/data/api-v/cameraTimerule/findAll", + url: "/saas/api-s/cameraTimerule/findAll", method: "get" }); }; export const deleteTimeRule = (query: any) => { return request({ - url: "/data/api-v/cameraTimerule/delete", - method: "get", - params: query + url: "/saas/api-s/cameraTimerule/delete", + method: "delete", + data: query }); }; export const saveTimeRule = (params: any) => { return request({ - url: "/data/api-v/cameraTimerule/save", + url: "/saas/api-s/cameraTimerule/save", method: "post", data: params }); -- Gitblit v1.8.0