This commit is contained in:
panda
2023-09-04 20:31:06 +08:00
parent 3be7c64b58
commit 8934271438
4 changed files with 58 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ func (ys *Ys) GetDeviceList(pageNum, pageSize int) (devices []Device, total int6
if err != nil {
return nil, 0, err
}
var page Page
var page = Page{}
err = tool.InterfaceToStruct(status.Page, &page)
if err != nil {
return nil, 0, err