Browse Source

tomcat_res

night-cherry 1 tháng trước cách đây
mục cha
commit
9fc8a5c6c6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      index.js

+ 1 - 0
index.js

@@ -93,6 +93,7 @@ const app=createApp({
       const res=JSON.parse(request.responseText);
       const res=JSON.parse(request.responseText);
       this.tomcat_res=res["message"];
       this.tomcat_res=res["message"];
       console.log("res:"+res);
       console.log("res:"+res);
+      console.log(tomcat_res);
     };
     };
     request.open("POST","http://ancientapes.cc:8080/mineluxuries/book");
     request.open("POST","http://ancientapes.cc:8080/mineluxuries/book");
     request.send("test tomcat");
     request.send("test tomcat");