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.
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
//const serviceTitle = 'https://rightsadmin.bnyer.cn/rights'; //生产
|
|
|
|
|
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
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|