123456789101112131415161718192021222324 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>Title</title>
- <script src="js/util.js"></script>
- </head>
- <body>
- <script>
- <!--获取年月日字符串-->
- let date = new Date();
- let year = date.getFullYear();
- let month = date.getMonth() + 1;
- let day = date.getDate();
- let dateStr = year + '-' + month + '-' + day;
- let res = requestUtil.sync(`https://web_history.tianyunperfect.cn/tri/create_note?title=tmp&content=`, 'get', {}, {})
- let re = res['noteId'];
- let baseUrl = "https://tri.tianyunperfect.cn/#root/";
- let url = baseUrl + re;
- location.href = url;
- </script>
- </body>
- </html>
|