|
@@ -3,14 +3,14 @@ import request from '@/utils/request'
|
|
// 查询城市列表
|
|
// 查询城市列表
|
|
export function listCity(query) {
|
|
export function listCity(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/list',
|
|
|
|
|
|
+ url: '/his/city/list',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
}
|
|
}
|
|
export function getAllList(query) {
|
|
export function getAllList(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/getAllList',
|
|
|
|
|
|
+ url: '/his/city/getAllList',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
@@ -18,7 +18,7 @@ export function getAllList(query) {
|
|
|
|
|
|
export function getCitys() {
|
|
export function getCitys() {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/getCitys',
|
|
|
|
|
|
+ url: '/his/city/getCitys',
|
|
method: 'get'
|
|
method: 'get'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -28,7 +28,7 @@ export function getCitys() {
|
|
// 查询城市详细
|
|
// 查询城市详细
|
|
export function getCity(id) {
|
|
export function getCity(id) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/' + id,
|
|
|
|
|
|
+ url: '/his/city/' + id,
|
|
method: 'get'
|
|
method: 'get'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -36,7 +36,7 @@ export function getCity(id) {
|
|
// 新增城市
|
|
// 新增城市
|
|
export function addCity(data) {
|
|
export function addCity(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city',
|
|
|
|
|
|
+ url: '/his/city',
|
|
method: 'post',
|
|
method: 'post',
|
|
data: data
|
|
data: data
|
|
})
|
|
})
|
|
@@ -45,7 +45,7 @@ export function addCity(data) {
|
|
// 修改城市
|
|
// 修改城市
|
|
export function updateCity(data) {
|
|
export function updateCity(data) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city',
|
|
|
|
|
|
+ url: '/his/city',
|
|
method: 'put',
|
|
method: 'put',
|
|
data: data
|
|
data: data
|
|
})
|
|
})
|
|
@@ -54,7 +54,7 @@ export function updateCity(data) {
|
|
// 删除城市
|
|
// 删除城市
|
|
export function delCity(id) {
|
|
export function delCity(id) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/' + id,
|
|
|
|
|
|
+ url: '/his/city/' + id,
|
|
method: 'delete'
|
|
method: 'delete'
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -62,8 +62,8 @@ export function delCity(id) {
|
|
// 导出城市
|
|
// 导出城市
|
|
export function exportCity(query) {
|
|
export function exportCity(query) {
|
|
return request({
|
|
return request({
|
|
- url: '/store/city/export',
|
|
|
|
|
|
+ url: '/his/city/export',
|
|
method: 'get',
|
|
method: 'get',
|
|
params: query
|
|
params: query
|
|
})
|
|
})
|
|
-}
|
|
|
|
|
|
+}
|