商品搜索

This commit is contained in:
2020-07-18 11:44:05 +08:00
parent d1e1934239
commit 82d387a000
3 changed files with 63 additions and 18 deletions

View File

@@ -149,6 +149,12 @@ export default {
return vm.$u.post('goods/goodsInfo', {
goods_id: id
});
},
// 商品搜索
ShopSearch({keyword,page = 1,order = 'goods_salenum'}){
return vm.$u.post('ShopSearch/search',{
keyword,page,order
})
}
}
}