初始版本
This commit is contained in:
31
admin/src/api/setting/map.ts
Normal file
31
admin/src/api/setting/map.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 地图key列表
|
||||
export function apiMapKeyLists(params: any) {
|
||||
return request.get({ url: '/setting.map_key/lists', params })
|
||||
}
|
||||
|
||||
// 地图key公共列表
|
||||
export function apiMapKeyCommonLists(params: any) {
|
||||
return request.get({ url: '/setting.map_key/commonLists', params })
|
||||
}
|
||||
|
||||
// 新增key
|
||||
export function apiMapKeyAdd(params: any) {
|
||||
return request.post({ url: '/setting.map_key/add', params })
|
||||
}
|
||||
|
||||
// 编辑key
|
||||
export function apiMapKeyEdit(params: any) {
|
||||
return request.post({ url: '/setting.map_key/edit', params })
|
||||
}
|
||||
|
||||
// key详情
|
||||
export function apiMapKeyDetail(params: any) {
|
||||
return request.get({ url: '/setting.map_key/detail', params })
|
||||
}
|
||||
|
||||
// 删除key
|
||||
export function apiMapKeyDel(params: any) {
|
||||
return request.post({ url: '/setting.map_key/del', params })
|
||||
}
|
||||
Reference in New Issue
Block a user