Example #1
0
        public IActionResult GetDeviceById(int device_id)
        {
            var result = _devicesService.GetDevicesById(device_id);

            return(Ok(new ResponseBody()
            {
                ResponseCode = ResponseCodeEnum.Success, ResponseMessage = "查询成功", ResponseData = result
            }));
        }