package server
import (
"joylink.club/iot/dto"
"joylink.club/iot/log"
)
// 获取IOT日志请求响应
func GetIotLog(req *dto.IotServiceLogReq) *dto.IotServiceLogResp {
tails := log.GetTailsOf(int(req.Count))
return &dto.IotServiceLogResp{Logs: tails}
}