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