|
@@ -10,9 +10,9 @@ export function listServer(query) {
|
|
|
}
|
|
|
|
|
|
// 查询资讯详细
|
|
|
-export function getServer(id) {
|
|
|
+export function getServer(id,type) {
|
|
|
return request({
|
|
|
- url: '/jnb/information/' + id,
|
|
|
+ url: '/jnb/information/' + id + '/' + type,
|
|
|
method: 'get'
|
|
|
})
|
|
|
}
|
|
@@ -36,9 +36,9 @@ export function updateServer(data) {
|
|
|
}
|
|
|
|
|
|
// 删除资讯
|
|
|
-export function delServer(ids) {
|
|
|
+export function delServer(ids,type) {
|
|
|
return request({
|
|
|
- url: '/jnb/information/' + ids,
|
|
|
+ url: '/jnb/information/' + ids + '/' + type,
|
|
|
method: 'delete'
|
|
|
})
|
|
|
}
|