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.
26 lines
423 B
26 lines
423 B
|
2 years ago
|
import request from '@/utils/request'
|
||
|
|
const serviceTitle = 'http://localhost:8085/rights';
|
||
|
|
const prefix = '/link';
|
||
|
|
|
||
|
|
// 查询链接配置列表
|
||
|
|
export function listLink() {
|
||
|
|
return request({
|
||
|
|
url: `${serviceTitle}${prefix}/list`,
|
||
|
|
method: 'post'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增链接配置
|
||
|
|
export function addLink(data) {
|
||
|
|
return request({
|
||
|
|
url: `${serviceTitle}${prefix}/add`,
|
||
|
|
method: 'post' ,
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|