(req: Alert.AlertCreateReq)
| 24 | }; |
| 25 | |
| 26 | export const CreateAlert = (req: Alert.AlertCreateReq) => { |
| 27 | let request = deepCopy(req) as Alert.AlertCreateReq; |
| 28 | return http.post<any>(`/alert`, request); |
| 29 | }; |
| 30 | |
| 31 | export const UpdateAlert = (req: Alert.AlertUpdateReq) => { |
| 32 | return http.post<any>(`/alert/update`, req); |