You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
353 B
18 lines
353 B
4 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// api地址
|
||
|
const api = {
|
||
|
getShopList: 'merchant/list',
|
||
|
getShopDetail: 'merchant/detail'
|
||
|
}
|
||
|
|
||
|
// 商户列表
|
||
|
export function getShopList(param) {
|
||
|
return request.get(api.getShopList, { ...param })
|
||
|
}
|
||
|
|
||
|
// 商户详情
|
||
|
export function getShopDetail(param) {
|
||
|
return request.get(api.getShopDetail, { ...param })
|
||
|
}
|