import http from '../utils/http' const UserApi = { async UpdateName(dto: any) { return http.put('/api/services/wxapp/WxUser/UpdateName', dto) as Promise<IRestResult<string>> }, } export default UserApi