UNPKG

@jdlinker/linker

Version:

jdLinker 系统模块

11 lines (7 loc) 384 B
import { defHttp } from '@jdlinker/func'; export const restPassword = (id: string) => defHttp.post({ url: `/edge/operations/${id}/auth-user-password-reset/invoke` }); export const _control = (deviceId: string) => defHttp.get({ url: `/edge/remote/${deviceId}/url` }); export const _stopControl = (deviceId: string) => defHttp.post({ url: `/edge/remote/${deviceId}/stop` });