瀏覽代碼

修改参数

luohailiang 2 年之前
父節點
當前提交
d6fa29dbce
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 4 4
      static/scripts/transfer.js
  2. 1 1
      transfer.html

+ 4 - 4
static/scripts/transfer.js

@@ -8,9 +8,9 @@ function setCookie(name, value, day, path, domain) {
     document.cookie = str;
 }
 
-let ticket = '';
-if (location.search.includes('ticket')) {
-    ticket = location.search.substring(8);
+let zlb_token = '';
+if (location.search.includes('zlb_token')) {
+    zlb_token = location.search.substring(11);
     const requestURL = 'https://tyyxopenapi.txhlwxx.com/openapi/oauth/zlb/checkticket.php';
     $.ajax({
         url: requestURL,
@@ -20,7 +20,7 @@ if (location.search.includes('ticket')) {
         dataType: 'json',
         data: {
             type: 'login',
-            ticket: ticket
+            zlb_token: zlb_token
         },
         success: (res) => {
             if (res.code == '1') {

+ 1 - 1
transfer.html

@@ -22,7 +22,7 @@
 <script src="static/scripts/vue.min.js"></script>
 <script src="static/scripts/axios.min.js"></script>
 <script src="static/scripts/qs.min.js"></script>
-<script src="static/scripts/transfer.js?v=2022112822"></script>
+<script src="static/scripts/transfer.js?v=20221227"></script>
 <script>
     var _hmt = _hmt || [];
     (function() {