wwf
4 天以前 73210a869048d6468b55717660d0ca558d0c2aab
service/common.ts
@@ -73,6 +73,10 @@
  return get<SetupStatusResponse>('/setup')
}
export const regAndLogin: Fetcher<CommonResponse, { body: Record<string, any> }> = ({ body }) => {
  return post<CommonResponse>('/regAndLogin', { body })
}
export const fetchUserProfile: Fetcher<UserProfileOriginResponse, { url: string; params: Record<string, any> }> = ({ url, params }) => {
  return get<UserProfileOriginResponse>(url, params, { needAllResponseContent: true })
}