|
@@ -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(() => {
|