bigDataOut-api.js 525 B

1234567891011121314151617181920
  1. (function(exports) {
  2. var bigDataOutApi = {
  3. // 获取热搜
  4. hot_words: function() {
  5. var params ={
  6. reCount:5,
  7. type:1
  8. }
  9. return httpRequest.get("/api/v1.0/resource/text_search/hot_words",{data: params,getServer:true})
  10. },
  11. //全文检索
  12. text_search: function(data) {
  13. return httpRequest.get("/api/v1.0/resource/text_search",{data: data,getServer:true})
  14. },
  15. }
  16. exports.bigDataOutApi = bigDataOutApi;
  17. })(window)