@tplc/business
Version:
17 lines (16 loc) • 446 B
text/typescript
export interface UserLocation {
addressInfo: string
cityId: string
areaId: string
provinceId: string
cityName: string
haveNotCityId: string
haveNotCityName: string
haveNotAddressInfo: string
haveNotTip: string
showName: string
openFlag: boolean
addressId: string
}
export const getUserLocation = (data?: { userLongitude: string; userLatitude: string }) =>
uni.$lcb.http.post<UserLocation>('/address/userLocation', data)