diff --git a/src/api/blogView.ts b/src/api/blogView.ts
index 0d9f1f1..76a2efc 100644
--- a/src/api/blogView.ts
+++ b/src/api/blogView.ts
@@ -32,4 +32,19 @@ const getBlog = (bid: string) => {
})
}
-export { getBlogs, getBlog, getBtName }
\ No newline at end of file
+const publishAll = () => {
+ return request({
+ url: '/auth/api/v1/reader/blogs/publish/all',
+ method: 'GET'
+ })
+}
+
+const publish = (bid: string) => {
+ return request({
+ url: '/auth/api/v1/reader/blogs/publish/' + bid,
+ method: 'GET'
+ })
+}
+
+
+export { getBlogs, getBlog, getBtName, publish, publishAll }
\ No newline at end of file
diff --git a/src/const/config.ts b/src/const/config.ts
index 904ead7..fa7388d 100644
--- a/src/const/config.ts
+++ b/src/const/config.ts
@@ -20,7 +20,7 @@ const configObj: any = {
CLIENT_ID: '&client_id=' + 'BIukdHDXeNPmIXe96GA6OOXGgnP5GEhM',
REDIRECT_URI: '&redirect_uri=' + 'http://localhost:8080/auth/api/v1/authorize/baidu',
SCOPE: '&scope=basic,netdisk',
- DEVICE_ID: '&device_id=26202308',
+ DEVICE_ID: '&device_id=27103657',
QR_CODE: '&qrcode=' + '1',
DISPLAY: '&display=popup'
}
diff --git a/src/view/blog/index.vue b/src/view/blog/index.vue
index eb9b805..b54e855 100644
--- a/src/view/blog/index.vue
+++ b/src/view/blog/index.vue
@@ -28,20 +28,26 @@