页面
This commit is contained in:
parent
60ec7f93cc
commit
c62e30f847
@ -453,7 +453,7 @@ export default defineComponent({
|
||||
},
|
||||
async onLoad(option) {
|
||||
this.getBanner()
|
||||
this.getProduct(38)
|
||||
this.getProduct(1)
|
||||
this.getArticle()
|
||||
},
|
||||
methods: {
|
||||
|
@ -24,8 +24,10 @@ export interface IFooItem {
|
||||
// }
|
||||
|
||||
/** GET 请求 */
|
||||
export function getProductAPI(cate_pid: string) {
|
||||
return http.get<IFooItem>(getUrlCrmebProxy() + '/api/product/spu/lst', { cate_pid })
|
||||
export function getProductAPI(labels: string) {
|
||||
// return http.get<IFooItem>(getUrlCrmebProxy() + '/api/product/spu/lst', { cate_pid })
|
||||
//根据标签获取产品
|
||||
return http.get<IFooItem>(getUrlCrmebProxy() + '/api/product/spu/labels', { labels: labels })
|
||||
}
|
||||
// 用户中心
|
||||
export function getInfoAPI() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user