1002884655 4 gadus atpakaļ
vecāks
revīzija
4ca8cfbc36
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/pages/FuLi/index.jsx

+ 1
- 1
src/pages/FuLi/index.jsx Parādīt failu

30
 
30
 
31
   const GetBanner = (done = () => { }) => { // 获取轮播图
31
   const GetBanner = (done = () => { }) => { // 获取轮播图
32
     setBannerList([])
32
     setBannerList([])
33
-    request({ ...apis.getBanner, params: { showType: 'banner', showPosition: 'mall', pageNum: 1, pageSize: 1 } }).then((res) => {
33
+    request({ ...apis.getBanner, params: { showPosition: 'index', contentType: 'mall', pageNum: 1, pageSize: 1 } }).then((res) => {
34
       setBannerList([...(res || [])])
34
       setBannerList([...(res || [])])
35
       done()
35
       done()
36
     }).catch(() => {
36
     }).catch(() => {