Browse Source

【个人信息】咨询人员和专家看到的星不一致解决

jack 8 years ago
parent
commit
17ff4f2d0b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/common.js

+ 2 - 2
js/common.js

@ -257,7 +257,7 @@ function concultProInfo(professorId){
257 257
			data : {"id":professorId},
258 258
			contentType : "application/x-www-form-urlencoded",
259 259
			success:function(response){
260
//				console.log(response);
260
				//console.log(response);
261 261
				var myData = response["data"];
262 262
				
263 263
				$("#professorName").html(myData["name"]);
@ -281,7 +281,7 @@ function concultProInfo(professorId){
281 281
				$("#sendConsultBtn").attr("proId",myData["id"]);
282 282
				
283 283
				//星级 
284
				var startConut = myData["starLevel"];
284
				var startConut = parseInt(myData["starLevel"]);
285 285
				if(myData["consultCount"]){
286 286
					if(!startConut){
287 287
						$(".evastarbox2").hide();