百度云放盘第三方登录
This commit is contained in:
+3
-3
@@ -7,7 +7,7 @@ const headers = {
|
||||
|
||||
const getBlogs = (params: Object) => {
|
||||
return request({
|
||||
url: '/api/v1/reader/blogs',
|
||||
url: '/auth/api/v1/reader/blogs',
|
||||
method: 'GET',
|
||||
params: params,
|
||||
paramsSerializer: (params) => {
|
||||
@@ -18,7 +18,7 @@ const getBlogs = (params: Object) => {
|
||||
|
||||
const getBtName = () => {
|
||||
return request({
|
||||
url: '/api/v1/reader/blog_type',
|
||||
url: '/auth/api/v1/reader/blog_type',
|
||||
method: 'GET',
|
||||
headers: headers
|
||||
})
|
||||
@@ -26,7 +26,7 @@ const getBtName = () => {
|
||||
|
||||
const getBlog = (bid: string) => {
|
||||
return request({
|
||||
url: '/api/v1/reader/blog/' + bid,
|
||||
url: '/auth/api/v1/reader/blog/' + bid,
|
||||
method: 'GET',
|
||||
headers: headers
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user