tianyun 1 năm trước cách đây
mục cha
commit
205fa9e5ed
1 tập tin đã thay đổi với 17 bổ sung0 xóa
  1. 17 0
      simple-demo/new_note.html

+ 17 - 0
simple-demo/new_note.html

@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>Title</title>
+    <script src="js/util.js"></script>
+</head>
+<body>
+<script>
+    let res = requestUtil.sync('https://web_history.tianyunperfect.cn/tri/create_note?title=tmp&content=1', 'get', {})
+    let re = res['noteId'];
+    let baseUrl = "https://tri.tianyunperfect.cn/#root/";
+    let url = baseUrl + re;
+    location.href = url;
+</script>
+</body>
+</html>