Bladeren bron

es搜索

layui
mail_yanpeng@163.com 5 jaren geleden
bovenliggende
commit
9532644051
  1. 2
      views/search.html

2
views/search.html

@ -49,7 +49,7 @@
searchParms.query.multi_match.query = searchVal;
var stringify = JSON.stringify(searchParms);
$.ajax({
url: "http://106.12.3.97:8209/beeblog/beeblog/_search",    //请求的url地址
url: "https://www.aiprose.com/es/search",    //请求的url地址
headers: {'Content-Type': 'application/json;charset=utf8'},
dataType: "json",   //返回格式为json
async: true,//请求是否异步,默认为异步,这也是ajax重要特性

Laden…
Annuleren
Opslaan