mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
[fix] 设备属性读取错误
This commit is contained in:
@@ -88,7 +88,7 @@ func (p *DeviceApi) GetDevice(rc *restfulx.ReqCtx) {
|
||||
}
|
||||
|
||||
// GetDeviceStatus 获取Device状态信息
|
||||
func (p *DeviceApi) GetDevigitceStatus(rc *restfulx.ReqCtx) {
|
||||
func (p *DeviceApi) GetDeviceStatus(rc *restfulx.ReqCtx) {
|
||||
id := restfulx.PathParam(rc, "id")
|
||||
classify := restfulx.QueryParam(rc, "classify")
|
||||
device, err := p.DeviceApp.FindOne(id)
|
||||
|
||||
Reference in New Issue
Block a user