罗世杰:商铺列表数据绑定

This commit is contained in:
LuoShijie
2023-11-17 22:36:02 +08:00
parent 007445f1d8
commit 022da2f0d0
3 changed files with 92 additions and 30 deletions

View File

@@ -248,9 +248,8 @@ const apiService = {
})
},
//获取商铺列表
getShopList(data){
const type = data.type
const url = `shop/alllist/?type=${type}`
getShopList(query){
const url = `/shop/alllist${query}`
return new Promise((resolve,reject) => {
resolve(service.get(url))
})