|
@@ -158,12 +158,14 @@
|
|
var PageInit = function(){
|
|
var PageInit = function(){
|
|
$.ajax({
|
|
$.ajax({
|
|
type: "post",
|
|
type: "post",
|
|
- url: "/active/livePage/status",
|
|
|
|
|
|
+ url: "/active/livePage/status?v="+new Date().getTime(),
|
|
data: {},
|
|
data: {},
|
|
dataType: "json",
|
|
dataType: "json",
|
|
success: function(data){
|
|
success: function(data){
|
|
- if(data.userId!=""){
|
|
|
|
|
|
+ if(data.userId!=undefined&&data.userId!=""){
|
|
isSub=true;
|
|
isSub=true;
|
|
|
|
+ }else{
|
|
|
|
+ isSub=false;
|
|
}
|
|
}
|
|
//购买人数
|
|
//购买人数
|
|
if(data.liveactiveRTB){
|
|
if(data.liveactiveRTB){
|