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.
16 lines
436 B
JavaScript
16 lines
436 B
JavaScript
6 months ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// api地址
|
||
|
const api = {
|
||
|
merchantInfo: 'merchantApi/merchant/info',
|
||
|
}
|
||
|
|
||
|
// 当前商户信息
|
||
|
export const info = (param, option) => {
|
||
|
const options = {
|
||
|
isPrompt: true, //(默认 true 说明:本接口抛出的错误是否提示)
|
||
|
load: true, //(默认 true 说明:本接口是否提示加载动画)
|
||
|
...option
|
||
|
}
|
||
|
return request.get(api.merchantInfo, param, options)
|
||
|
}
|