2024-06-17 15:29:52 +08:00
|
|
|
import request from '@/utils/request';
|
|
|
|
|
|
|
|
export const provinceListApi = (data) => {
|
|
|
|
return request.get('/province', data);
|
|
|
|
}
|
|
|
|
|
|
|
|
export const cityListApi = (data) => {
|
|
|
|
return request.get('/city', data);
|
|
|
|
}
|
|
|
|
|
|
|
|
export const areaListApi = (data) => {
|
|
|
|
return request.get('/area', data);
|
|
|
|
}
|
|
|
|
|
|
|
|
export const streetListApi = (data) => {
|
|
|
|
return request.get('/street', data);
|
|
|
|
}
|
|
|
|
|
|
|
|
export const villageListApi = (data) => {
|
|
|
|
return request.get('/village', data);
|
|
|
|
}
|
|
|
|
export const brigadeListApi = (data) => {
|
|
|
|
return request.get('/brigade', data);
|
2024-06-21 10:59:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export const getMassageCode = (data) => {
|
2024-06-21 14:27:24 +08:00
|
|
|
return request.get('/user/user/send_sms', data);
|
2024-06-21 10:59:01 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export const setPayPassword = (data) => {
|
2024-06-21 14:27:24 +08:00
|
|
|
return request.post('/user/user/set_payPassword', data);
|
2024-06-17 15:29:52 +08:00
|
|
|
}
|