完善功能

This commit is contained in:
wangxiaowei
2025-12-04 17:31:28 +08:00
parent d38d4419d9
commit c32943e82a
2 changed files with 2 additions and 7 deletions

View File

@ -144,8 +144,3 @@ export interface IUpdateUserInfoParams {
export function updateUserInfo(data: IUpdateUserInfoParams) {
return http.Post('/api/user/setInfo', data)
}
/**
* 上传头像
*/

View File

@ -1,7 +1,7 @@
import { getLocationToCity } from '@/api/tea-room'
const LOCATION_EXPIRE_MS = 2 * 60 * 1000 // 定位缓存30天
const LOCATION_DENY_INTERVAL = 1 * 60 * 1000 // 未授权定位弹窗间隔1小时
const LOCATION_EXPIRE_MS = 30 * 24 * 60 * 60 * 1000 // 定位缓存30天
const LOCATION_DENY_INTERVAL = 60 * 60 * 1000 // 未授权定位弹窗间隔1小时
export const LOCATION_EXPIRE_KEY = 'location_expire_time' // 定位缓存KEY
export const LOCATION_DEFAULT_CITY = '上海市' // 默认城市