init
This commit is contained in:
@@ -9,6 +9,14 @@ export function listAreaCode(query) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 查询行政区划详细
|
||||||
|
export function getTreeAreaCode() {
|
||||||
|
return request({
|
||||||
|
url: '/xq/areaCode/tree',
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 查询行政区划详细
|
// 查询行政区划详细
|
||||||
export function getAreaCode(code) {
|
export function getAreaCode(code) {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ module.exports = {
|
|||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
target: `http://localhost:8080`,
|
// target: `http://localhost:8080`,
|
||||||
// target: `http://xq.qiqizl.com/prod-api`,
|
target: `http://xq.qiqizl.com/prod-api`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user