HomeLease/api/banner/banner.js
2025-08-18 17:58:18 +08:00

18 lines
383 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import request from '@/utils/request'
/**
* 获取轮播图列表
* @param {Object} params - 查询参数
* @param {string} params.appId - 应用ID默认为1
* @returns {Promise} 返回轮播图数据
*/
export function getBannerList(params = {}) {
return request({
url: '/app/banner',
method: 'GET',
params: {
appId: '1',
...params,
},
})
}