|
@@ -6,7 +6,7 @@
|
|
|
<script src="js/axios.min.js"></script>
|
|
|
</head>
|
|
|
<body>
|
|
|
-<textarea id="msg" style="width: 100%;" rows="3"></textarea>
|
|
|
+<textarea id="msg" style="width: 100%;" rows="10"></textarea>
|
|
|
<h1 id="tip">2秒内发送</h1>
|
|
|
<script>
|
|
|
Date.prototype.format = function (fmt) {
|
|
@@ -65,7 +65,7 @@
|
|
|
axios.post("https://api.tianyunperfect.cn/web_history/location_history", {
|
|
|
"location_str": "",
|
|
|
"location_xy": longitude + "-" + latitude,
|
|
|
- "msg": "",
|
|
|
+ "msg": document.querySelector("#msg").innerHTML,
|
|
|
"create_time": new Date().format('yyyy-MM-dd hh:mm:ss'),
|
|
|
"update_time": new Date().format('yyyy-MM-dd hh:mm:ss')
|
|
|
}).then(res => {
|