You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
354 B
JavaScript
20 lines
354 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// api地址
|
|
const api = {
|
|
info: 'merchantApi/user/info',
|
|
list: 'merchantApi/member/list'
|
|
}
|
|
|
|
// 会员详情
|
|
export function detail(userId, param) {
|
|
return request.post(api.info, { userId, ...param })
|
|
}
|
|
|
|
|
|
// 会员列表
|
|
export function list(param, option) {
|
|
return request.post(api.list, param, option)
|
|
}
|
|
|