新闻收藏整合登录

This commit is contained in:
尹吉欢
2018-04-08 11:28:54 +08:00
parent aca59ad986
commit 7c37b035b0
4 changed files with 19 additions and 7 deletions
+3 -2
View File
@@ -491,8 +491,9 @@ $(".praise").on("click", function () {
//收藏
$(".collection").on("click", function () {
//doCollect();
collect();
//localStorage.removeItem("user_token");
doCollect();
//collect();
});
function doCollect() {
if (localStorage.getItem("user_token") == null || localStorage.getItem("user_token") == "") {