Skip to content

Commit

Permalink
fix: 使用代理池修复用户登录被禁用
Browse files Browse the repository at this point in the history
  • Loading branch information
sl1673495 committed Sep 4, 2019
1 parent 75b978c commit 71a7015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { requestWithoutLoading } from '@/utils'

export const getUserDetail = (uid) => requestWithoutLoading.get("/user/detail", { params: { uid } })
export const getUserDetail = (uid) => requestWithoutLoading.get("/user/detail", { params: { uid, proxy: 'http://111.231.140.109:8888' } })

const PLAYLIST_LIMIT = 1000
export const getUserPlaylist = (uid) => requestWithoutLoading.get("/user/playlist", { params: { uid, limit: PLAYLIST_LIMIT } })

0 comments on commit 71a7015

Please sign in to comment.