(user: string, passwd: string)
| 21 | return http.post(`/toolbox/device/update/host`, param, TimeoutEnum.T_60S); |
| 22 | }; |
| 23 | export const updateDevicePasswd = (user: string, passwd: string) => { |
| 24 | return http.post(`/toolbox/device/update/passwd`, { user: user, passwd: encodeBase64(passwd) }, TimeoutEnum.T_60S); |
| 25 | }; |
| 26 | export const updateDeviceSwap = (params: Toolbox.SwapHelper) => { |
| 27 | return http.post(`/toolbox/device/update/swap`, params, TimeoutEnum.T_10M); |
| 28 | }; |
nothing calls this directly
no test coverage detected