mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-20 01:45:55 +08:00
feat(时序数据库集成): tdengine\influxdb\iotdb数据库集成
This commit is contained in:
@@ -59,4 +59,16 @@ public class DeviceLogController extends BaseController
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增设备日志
|
||||
*/
|
||||
@ApiOperation("新增设备日志")
|
||||
@PreAuthorize("@ss.hasPermi('iot:device:add')")
|
||||
@Log(title = "设备日志", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody DeviceLog deviceLog)
|
||||
{
|
||||
return toAjax(deviceLogService.insertDeviceLog(deviceLog));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user