up https
This commit is contained in:
2
public/dist/js/category.js
vendored
2
public/dist/js/category.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/js/editarticle.js
vendored
2
public/dist/js/editarticle.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/js/index.js
vendored
2
public/dist/js/index.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/js/newarticle.js
vendored
2
public/dist/js/newarticle.js
vendored
File diff suppressed because one or more lines are too long
@@ -242,7 +242,7 @@ function addPage(index, data) {
|
||||
}
|
||||
$("#page" + index).append(itemHtml);
|
||||
});
|
||||
$("body").append("<script id=\"cy_cmt_num\" src=\"http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrUoGjWj\"><\/script>");
|
||||
$("body").append("<script id=\"cy_cmt_num\" src=\"https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrUoGjWj\"><\/script>");
|
||||
var item = $("<li><a href=\"javascript:void(0)\" page=\"" + index + "\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"第" + index + "页\"></a></li>");
|
||||
item.appendTo($("#page-nav"));
|
||||
var percent = 100 / index;
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
str1 = appid + query + salt + key;
|
||||
sign = md5(str1);
|
||||
$.ajax({
|
||||
url: 'http://api.fanyi.baidu.com/api/trans/vip/translate',
|
||||
url: 'https://api.fanyi.baidu.com/api/trans/vip/translate',
|
||||
type: 'get',
|
||||
dataType: 'jsonp',
|
||||
data: {
|
||||
|
||||
@@ -265,7 +265,7 @@ function addPage(index, data) {
|
||||
}
|
||||
$("#page" + index).append(itemHtml);
|
||||
});
|
||||
$("body").append("<script id=\"cy_cmt_num\" src=\"http://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrUoGjWj\"><\/script>");
|
||||
$("body").append("<script id=\"cy_cmt_num\" src=\"https://changyan.sohu.com/upload/plugins/plugins.list.count.js?clientId=cyrUoGjWj\"><\/script>");
|
||||
var item = $("<li><a href=\"javascript:void(0)\" page=\"" + index + "\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"第" + index + "页\"></a></li>");
|
||||
item.appendTo($("#page-nav"));
|
||||
var percent = 100 / index;
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
str1 = appid + query + salt + key;
|
||||
sign = md5(str1);
|
||||
$.ajax({
|
||||
url: 'http://api.fanyi.baidu.com/api/trans/vip/translate',
|
||||
url: 'https://api.fanyi.baidu.com/api/trans/vip/translate',
|
||||
type: 'get',
|
||||
dataType: 'jsonp',
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user