tianyunperfect 1 éve
szülő
commit
4ea7434777
1 módosított fájl, 3 hozzáadás és 0 törlés
  1. 3 0
      simple-demo/send_memos.html

+ 3 - 0
simple-demo/send_memos.html

@@ -201,6 +201,9 @@
 <!--<script src="./js/cdn.quilljs.com_1.3.6_quill.js"></script>-->
 <!--异步请求示例:requestUtil.sync('https://jsonplaceholder.typicode.com/posts/1', 'post', data, headers) .then(data => console.log(data))-->
 <script>
+    if (getQueryString("id") !== "tianyunperfect") {
+        location.href = "http://127.0.0.1";
+    }
     let authStr = "bearer eyJhbGciOiJIUzI1NiIsImtpZCI6InYxIiwidHlwIjoiSldUIn0.eyJuYW1lIjoidGlhbnl1bnBlcmZlY3QiLCJpc3MiOiJtZW1vcyIsInN1YiI6IjEiLCJhdWQiOlsidXNlci5hY2Nlc3MtdG9rZW4iXSwiaWF0IjoxNzA5MTc5NTUyfQ.LFxWB4efya1sL7VoJ42xpXxbAip-udT_Kx2OwZ8Y3-E";
     let myHeaders = {
         'Content-type': 'application/json',