diff --git a/jiuyi2/api/video.js b/jiuyi2/api/video.js index d2718d85..0ee5c6a3 100644 --- a/jiuyi2/api/video.js +++ b/jiuyi2/api/video.js @@ -301,9 +301,9 @@ const video = { */ hotVideos(param) { return util.request({ - url: `/home/hotVideos`, + url: `/video/search/getHot`, // query: param.query, - method: 'POST', + method: 'GET', }) }, @@ -325,8 +325,8 @@ const video = { */ videoSearch(param) { return util.request({ - url: `/home/videoSearch`, - query: param.query, + url: `/video/search/searchData`, + data: param.query, method: 'POST', }) }, diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js index 4336ad84..bbf13c05 100644 --- a/jiuyi2/common/js/config.js +++ b/jiuyi2/common/js/config.js @@ -6,11 +6,9 @@ const config = { // host: 'h5api', // #endif // #ifndef H5 - host: 'http://91f.xyz:8080', -<<<<<<< HEAD + // host: 'http://91f.xyz:8080', // host: 'https://1a880cd5.r24.cpolar.top/', -======= ->>>>>>> 409f137e8990b13381bdbe7efca7eec9a3cfc89e + host: 'http://6mkwby.natappfree.cc', // #endif // 支付方式配置 payType: { diff --git a/jiuyi2/components/news/msgList.vue b/jiuyi2/components/news/msgList.vue index 637dc962..f1ae14a0 100644 --- a/jiuyi2/components/news/msgList.vue +++ b/jiuyi2/components/news/msgList.vue @@ -110,8 +110,7 @@ function getList() { uni.$emit('updateNum', {}) uni.$chat.getConversationList().then(rs => { - let res = rs.data.conversationList - console.log(res); + let res = rs.data.conversationList let arr = [] res.forEach(item => { let obj = {} diff --git a/jiuyi2/pages/index/search.vue b/jiuyi2/pages/index/search.vue index 07bfcb69..b87755b7 100644 --- a/jiuyi2/pages/index/search.vue +++ b/jiuyi2/pages/index/search.vue @@ -1,265 +1,296 @@