Huanyuyuehui/api/shop.js

22 lines
487 B
JavaScript
Raw Normal View History

2024-03-25 16:25:29 +08:00
import request from "@/utils/request.js";
/**
* 公共接口 获取商家列表定位信息
*
*/
/**
* 获取主页数据 无需授权
*
*/
2024-03-26 14:48:11 +08:00
export function shopInit(data)
2024-03-25 16:25:29 +08:00
{
2024-03-26 14:48:11 +08:00
return request.get("store/merchant/category",data,{ noAuth : true});
}
//获取附件商家
export function shopNearby(data){
return request.get('store/merchant/lst',data,{noAuth:true});
}
export function shopDetail(data){
return request.get('store/merchant/detail/'+data.id,{},{noAuth:true});
2024-03-27 09:12:59 +08:00
}