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