@ -72,7 +72,6 @@ export interface SsgBrand {
|
||||
// 首页「热门品牌」区块:按图片数排名前 limit 个品牌,每个附带代表走秀的封面与标题。
|
||||
export async function getSsgPopularBrands(limit = 20): Promise<SsgPopularBrand[]> {
|
||||
const j = await ssgRequest<{ data?: SsgPopularBrand[] }>(`/api/ssg/brands/popular?limit=${limit}`)
|
||||
console.log(j)
|
||||
return j?.data ?? []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user