@tplc/business
Version:
15 lines (14 loc) • 406 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
}
export const getUserLocation = (data?: { userLongitude: string; userLatitude: string }) =>
uni.$lcb.http.post<UserLocation>('/address/userLocation', data)