From a48567c4972f853aa73c8cffa9db109034ba7753 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Mon, 6 Apr 2026 01:30:14 +0800 Subject: [PATCH] update doc --- doc/db/tables_xxl_job.sql | 2 +- .../java/com/xxl/job/executor/test/ollama/OllamaTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/db/tables_xxl_job.sql b/doc/db/tables_xxl_job.sql index c27a5fd8..921279bc 100644 --- a/doc/db/tables_xxl_job.sql +++ b/doc/db/tables_xxl_job.sql @@ -159,7 +159,7 @@ VALUES (1, 1, '示例任务01', now(), now(), 'XXL', '', 'CRON', '0 0 0 * * ? *' now(), ''), (2, 2, 'Ollama示例任务', now(), now(), 'XXL', '', 'NONE', '', 'DO_NOTHING', 'FIRST', 'ollamaJobHandler', '{ - "input": "慢SQL问题分析思路", + "input": "Java实现二叉树层序遍历", "prompt": "你是一个研发工程师,擅长解决技术类问题。", "model": "qwen3.5:2b" }', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化', diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/test/java/com/xxl/job/executor/test/ollama/OllamaTest.java b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/test/java/com/xxl/job/executor/test/ollama/OllamaTest.java index 10c7afa0..985efe17 100644 --- a/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/test/java/com/xxl/job/executor/test/ollama/OllamaTest.java +++ b/xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/test/java/com/xxl/job/executor/test/ollama/OllamaTest.java @@ -34,7 +34,7 @@ public class OllamaTest { String model = "qwen3.5:2b"; String prompt = "你是一个研发工程师,擅长解决技术类问题。"; - String input = "慢SQL问题分析思路"; + String input = "Java实现二叉树层序遍历"; // build chat-client @@ -61,7 +61,7 @@ public class OllamaTest { String model = "qwen3.5:2b"; String prompt = "你是一个研发工程师,擅长解决技术类问题。"; - String input = "慢SQL问题分析思路"; + String input = "Java实现二叉树层序遍历"; // build chat-client