|
@@ -5,7 +5,7 @@ import request from './request'
|
|
* */
|
|
* */
|
|
export const getChinaArea = () => request({
|
|
export const getChinaArea = () => request({
|
|
method: 'GET',
|
|
method: 'GET',
|
|
- url: '/api/area'
|
|
|
|
|
|
+ url: '/area'
|
|
})
|
|
})
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -13,7 +13,7 @@ export const getChinaArea = () => request({
|
|
* */
|
|
* */
|
|
export const getBankList = (id) => request({
|
|
export const getBankList = (id) => request({
|
|
method: 'GET',
|
|
method: 'GET',
|
|
- url: '/api/home/bank/bankList',
|
|
|
|
|
|
+ url: '/home/bank/bankList',
|
|
params: {
|
|
params: {
|
|
id
|
|
id
|
|
}
|
|
}
|
|
@@ -24,7 +24,7 @@ export const getBankList = (id) => request({
|
|
* */
|
|
* */
|
|
export const sendSMS = (cellphone, type = 0, captcha) => request({
|
|
export const sendSMS = (cellphone, type = 0, captcha) => request({
|
|
method: 'GET',
|
|
method: 'GET',
|
|
- url: '/api/sendMsg',
|
|
|
|
|
|
+ url: '/sendMsg',
|
|
params: {
|
|
params: {
|
|
cellphone,
|
|
cellphone,
|
|
type,
|
|
type,
|
|
@@ -40,6 +40,6 @@ export const uploadFile = (formData) => request({
|
|
'Content-Type': 'multipart/form-data'
|
|
'Content-Type': 'multipart/form-data'
|
|
},
|
|
},
|
|
method: 'POST',
|
|
method: 'POST',
|
|
- url: '/api/upload',
|
|
|
|
|
|
+ url: '/upload',
|
|
data: formData
|
|
data: formData
|
|
})
|
|
})
|