添加调用哄睡模式开始接口
authorluozheng <1732036298@qq.com>
Mon, 29 Sep 2025 11:05:43 +0000 (19:05 +0800)
committerluozheng <1732036298@qq.com>
Mon, 29 Sep 2025 11:05:43 +0000 (19:05 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_story_random.c

index afc3953..7533fb1 100644 (file)
@@ -230,6 +230,8 @@ void ln_parse_sleep_mode_start(const char *json_str, int json_len)
         theme = "随机";
     }
     push_sleep_mode_start_notification(theme);
+    //通知websocket发送随机故事请求
+    ln_ws_send_random_story_request(theme);
     if (root) cJSON_Delete(root);
 }