1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 04:01:31 +08:00

更新微博分享链接

This commit is contained in:
koogua 2022-09-15 16:08:46 +08:00
parent 3854a082d3
commit c801559b62

View File

@ -57,7 +57,7 @@ layui.define(['jquery', 'layer'], function (exports) {
};
helper.weiboShare = function (title, url, pic) {
var shareUrl = 'http://v.t.sina.com.cn/share/share.php?';
var shareUrl = 'http://service.weibo.com/share/share.php?';
shareUrl += 'title=' + encodeURIComponent(title || document.title);
shareUrl += '&url=' + encodeURIComponent(url || document.location);
shareUrl += '&pic=' + encodeURIComponent(pic || '');