Commit f3fc9b30 authored by chenqikuai's avatar chenqikuai

设置假的gps

parent 7e6a30a9
......@@ -12,15 +12,15 @@ class AddressService {
}
getNearby(data: { bank_code: number; number: number }) {
// return baseAxios<iNearbyOutLet[]>({
// method: 'post',
// url: '/address/nearby',
// data: {
// ...data,
// longitude: '120.194393',
// latitude: '30.244417',
// },
// })
return baseAxios<iNearbyOutLet[]>({
method: 'post',
url: '/address/nearby',
data: {
...data,
longitude: '120.194393',
latitude: '30.244417',
},
})
return new Promise<iRet<iNearbyOutLet[]>>((resolve) => {
function getGps() {
new Bridge().bridge_getGps(null, (params: any) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment