摘要: LUA脚本实现语音的对话并记录在数据库 -- 引入 LuaSQL MySQL 模块 local luasql = require "luasql.mysql" -- 数据库连接设置 DBHOST = '127.0.0.1' -- MySQL 服务器地址 DBNAME = 'freeswitch' - 阅读全文
posted @ 2024-12-19 19:01 IxXi 阅读(589) 评论(0) 推荐(0)
摘要: 可以将 Python 脚本作为一个后端服务运行,提供 HTTP API 接口,供 Java 通过 HTTP 请求调用。这样无需使用消息队列,也能保持服务的简洁。以下是具体实现步骤: 使用 FastAPI 搭建 Python HTTP 服务 FastAPI 是一个现代的、快速的 Web 框架,非常适合 阅读全文
posted @ 2024-12-13 21:48 IxXi 阅读(86) 评论(0) 推荐(0)
摘要: 数据大屏设计项目:https://gitee.com/anji-plus/report 模拟智能家居:https://github.com/PieceOfFall/SmartHouseSystem 阅读全文
posted @ 2024-11-19 15:17 IxXi 阅读(25) 评论(0) 推荐(0)
摘要: //根据坐标位置写入操作 public static void main(String[] args) throws Exception { String input = "pdf";//放入pdf文件 PdfReader pr = new PdfReader(input);//创建pdf读取 Pd 阅读全文
posted @ 2024-09-13 09:14 IxXi 阅读(34) 评论(0) 推荐(0)
摘要: String data = "{json}"; ObjectMapper objectMapper = new ObjectMapper(); JsonNode rootNode = null; try { rootNode = objectMapper.readTree(data); //通过将S 阅读全文
posted @ 2024-09-12 14:34 IxXi 阅读(31) 评论(0) 推荐(0)