jack 7 years ago
parent
commit
0b08d35892
2 changed files with 4 additions and 1 deletions
  1. 2 1
      js/articalShow2.js
  2. 2 0
      js/common.js

+ 2 - 1
js/articalShow2.js

@ -1,12 +1,13 @@
1 1
/*文章预览*/
2 2
var articleId =window.staticPageData.articleId;
3
var userid = $.cookie("userid");
3

4 4
var zjreturnId;
5 5
var wzreturnId;
6 6
var experarray = [];
7 7
var createTime,orderKey;
8 8
$(function() {
9 9
	loginStatus();//判断个人是否登录
10
	var userid = $.cookie("userid");
10 11
	articleshow();
11 12
	relevantExperts();
12 13
	relevantResources(); 

+ 2 - 0
js/common.js

@ -131,7 +131,9 @@ function loginStatus() {
131 131
		if(userAuth == "true" && authentication == "null") {
132 132
			location.href = "fillinfo-select.html";
133 133
		}
134
		alert(1);
134 135
		if(userAuth == "true" && authentication != "null") {
136
			alert(2)
135 137
			$(".onlogin").show();
136 138
			$(".unlogin").hide();
137 139
			$(".portrait-p").attr("src", "/images/head/" + userid + "_m.jpg");