Your Name 3 년 전
부모
커밋
a04b5d2ada
1개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
  1. 7 5
      similar_web/index3.html

+ 7 - 5
similar_web/index3.html

@@ -277,12 +277,14 @@
 //      alert(dataOBJ)
       objstr = JSON.stringify(dataOBJ);
       console.log(objstr)
-      $.get("http://www.googo.org:8080/keyword/"+$('#search_query').val(), function (result) {
-        var seoStr = ''
-        var step;
+      $.get("http://api.ptt.cx:8080/keyword/"+$('#search_query').val(), function (result) {
+
         console.log(result);
-        alert(result);
-//        for (let i = 0; i < result.length; i++) {
+        alert(result.competition)
+
+        alert(result.msearch);
+
+        //        for (let i = 0; i < result.length; i++) {
  //         seoStr = seoStr + '<a class=tag>' + result[i].kw + '</a>'
   //      }
    //     seoStr = seoStr.substring(0, seoStr.length - 1);