1002884655 4 anni fa
parent
commit
4ca8cfbc36
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/pages/FuLi/index.jsx

+ 1
- 1
src/pages/FuLi/index.jsx Vedi File

@@ -30,7 +30,7 @@ export default function FuLi () {
30 30
 
31 31
   const GetBanner = (done = () => { }) => { // 获取轮播图
32 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 34
       setBannerList([...(res || [])])
35 35
       done()
36 36
     }).catch(() => {