From 48334ee59673e635ddbfff6cd64055f02a6766cf Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Mon, 27 Oct 2025 17:44:01 +0800 Subject: [PATCH] =?utf8?q?=E5=93=84=E7=9D=A1=E6=A8=A1=E5=BC=8F=E5=BC=80?= =?utf8?q?=E5=A7=8B=E7=9A=84=E6=84=8F=E5=9B=BE=E8=AF=86=E5=88=AB=E7=94=B1?= =?utf8?q?=E7=94=A8=E6=88=B7=E7=A1=AE=E8=AE=A4=E5=86=8D=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- code/sdk/zhihui/leiniao/imsl_ln/ln_api.c | 3 ++- code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/code/sdk/zhihui/leiniao/imsl_ln/ln_api.c b/code/sdk/zhihui/leiniao/imsl_ln/ln_api.c index b10d92c59..07af5d38b 100644 --- a/code/sdk/zhihui/leiniao/imsl_ln/ln_api.c +++ b/code/sdk/zhihui/leiniao/imsl_ln/ln_api.c @@ -630,7 +630,7 @@ int uapi_ln_download_file_resume(const char *url, const char *save_path) return ERRCODE_FAIL; } - HTTPC_RESULT prep = ln_http_prepare_auto(&client_data, 2048, LN_CLIENT_PREPARE_SIZE * 2); + HTTPC_RESULT prep = ln_http_prepare_auto(&client_data, 2048, LN_CLIENT_PREPARE_SIZE * 4); if (prep != HTTP_SUCCESS) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[DOWNLOAD_RESUME] prepare failed: %d", prep); @@ -1547,6 +1547,7 @@ static void ln_http_server_send_task(void const *arg) // ln_story_random_req_t req; // memcpy(&req, mail.data, sizeof(req)); // ln_story_random_http(uapi_ln_get_device_id(), uapi_ln_get_device_token(), req.story_theme[0] ? req.story_theme : NULL); + ln_ws_send_random_story_request("随机故事"); } } else if (mail.cmd == LN_HTTP_SERVICE_CMD_STORY_EXIT_INQUIRY) diff --git a/code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c b/code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c index f5201f3c9..727f93def 100644 --- a/code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c +++ b/code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c @@ -267,7 +267,7 @@ void ln_parse_voice_chat_response(const char *json_str, int json_len) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "开始哄睡\n"); push_sleep_mode_start_notification(NULL, 1); // 1意图识别结果 - ln_ws_send_random_story_request("随机故事"); + // ln_ws_send_random_story_request("随机故事"); } else if(strcmp(intention_str, "EndSleepMode") == 0) { -- 2.17.1