Browse Source

Merge branch 'master' of https://git.cocorobo.cn/CocoRoboLabs/pbl-api

SanHQin 1 week ago
parent
commit
46dc50f02d
1 changed files with 26 additions and 0 deletions
  1. 26 0
      pbl.js

+ 26 - 0
pbl.js

@@ -9122,6 +9122,32 @@ router.route("/add_llm_chat").all((req,res,next)=>{
 router.route("/delete_llm_chat").all((req,res,next)=>{
     postmysql(req, res, "delete_llm_chat"); 
 })
+
+router.route("/add_llm_note").all((req,res,next)=>{
+    postmysql(req, res, "add_llm_note"); 
+})
+
+router.route("/update_llm_note_title").all((req,res,next)=>{
+    postmysql(req, res, "update_llm_note_title"); 
+})
+
+router.route("/update_llm_note_detail").all((req,res,next)=>{
+    postmysql(req, res, "update_llm_note_detail"); 
+})
+
+router.route("/delete_llm_note").all((req,res,next)=>{
+    postmysql(req, res, "delete_llm_note"); 
+})
+
+router.route("/get_all_llm_note").all((req,res,next)=>{
+    var json = queryString(req.url);
+    getmysql2(req, res, "get_all_llm_note", json["id"]);
+})
+
+router.route("/get_llm_note").all((req,res,next)=>{
+    var json = queryString(req.url);
+    getmysql2(req, res, "get_llm_note", json["id"]);
+})
 //notebookllm