From 8167c425f0044110da1830cfd45b57a059b0f7b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E6=89=BF=E6=B7=9E?= <644344980@qq.com> Date: Tue, 25 Apr 2017 10:13:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=AE=80=E8=BF=B0=E5=8D=9A?= =?UTF-8?q?=E5=AE=A2=E6=96=87=E7=AB=A0=E6=A3=80=E6=B5=8B=E9=AB=98=E4=BA=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/js/main.js | 4 ++-- src/common/AppConfig.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WebContent/js/main.js b/WebContent/js/main.js index 79a4db8..1e5fee8 100644 --- a/WebContent/js/main.js +++ b/WebContent/js/main.js @@ -21,7 +21,7 @@ var Conf = { 'auth_uri' : '/action/oauth2/authorize', 'response_type' : 'code', 'client_id' : '2rbeJBgeNRvg0gqZJIci', - 'redirect_uri' : 'http://www.moveblog.com:8080/Oauth2Action' + 'redirect_uri' : 'http://www.moveblog.com:8081/Oauth2Action' }; var Api = (function(conf, $) { @@ -158,7 +158,7 @@ var Api = (function(conf, $) { }; var detectBlogType = function(url) { - var blog_types = [ 'csdn', 'cnblogs', '51cto', 'iteye' ]; + var blog_types = [ 'csdn', 'cnblogs', '51cto', 'iteye','jianshu']; return $.map(blog_types, function(type) { return url.indexOf(type) > -1 ? type : ''; }).join(''); diff --git a/src/common/AppConfig.xml b/src/common/AppConfig.xml index fe7a03d..3ffe2d0 100644 --- a/src/common/AppConfig.xml +++ b/src/common/AppConfig.xml @@ -29,7 +29,7 @@ 1P7IsIMrGXqs6AZrcZJtjZRMjain5r5J 2rbeJBgeNRvg0gqZJIci - http://www.moveblog.com:8080/Oauth2Action + http://www.moveblog.com:8081/Oauth2Action /action/openapi/token -- Gitee