唐钰豆豆 7 years ago
parent
commit
e8cbffc9ca
1 changed files with 4 additions and 3 deletions
  1. 4 3
      index.php

+ 4 - 3
index.php

@@ -54,11 +54,12 @@
     if (domain) {
     if (domain) {
       $.ajax({
       $.ajax({
         method: 'post',
         method: 'post',
-        url: 'http://api.uiisc.com/DomainCheck?i=1',
+        url: 'https://api.croidc.cn/mofh/DomainCheck',
         dataType: 'json',
         dataType: 'json',
-        data: {
+        contentType : "application/json",
+        data: JSON.stringify({
           domain: domain
           domain: domain
-        },
+        }),
         success: function (x) {
         success: function (x) {
           console.log(x);
           console.log(x);
         }
         }