parent
648198d368
commit
1d054012bb
@ -0,0 +1,22 @@ |
||||
import {request} from "@/api/request"; |
||||
|
||||
export type BrandRecord = { |
||||
id: number |
||||
introductory_video: string[] |
||||
brand_album: string[] |
||||
graphic_introduction: string |
||||
disabled: number |
||||
} |
||||
|
||||
export const brandApi = { |
||||
list(page: number , page_size: number) { |
||||
return request<{ |
||||
data: BrandRecord[], |
||||
total: number |
||||
}>(`/api/v1/department/index?page=${page}&page_size=${page_size}` , "GET") |
||||
}, |
||||
/** 学习记录 */ |
||||
info(id: number) { |
||||
return request<BrandRecord>(`/api/v1/user/record/${id}`, "GET") |
||||
}, |
||||
} |
@ -1,4 +1,4 @@ |
||||
export default definePageConfig({ |
||||
navigationBarTitleText: '见面会记录', |
||||
navigationBarTitleText: '品牌列表', |
||||
onReachBottomDistance: 30 |
||||
}) |
||||
|
Loading…
Reference in new issue