feat(database): 实现数据库功能并优化数据导出
- 新增数据库相关 API 和服务 - 实现数据导出功能,支持导出到 JSON 文件 - 优化数据导入流程,增加数据校验 - 新增数据库页面,展示解析数据和统计信息 - 更新捕获页面,支持导入数据到数据库
This commit is contained in:
@@ -23,7 +23,7 @@ func GetNetworkInterfaces() ([]model.NetworkInterface, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
log.Printf("网卡名称: %s, 描述: %s", device.Name, device.Description) // 打印每个网卡的名称和描述
|
||||
//log.Printf("网卡名称: %s, 描述: %s", device.Name, device.Description) // 打印每个网卡的名称和描述
|
||||
|
||||
// 提取IP地址
|
||||
var addresses []string
|
||||
|
||||
Reference in New Issue
Block a user