Authored by wuxiao

接口强制转换starting_time为数字

... ... @@ -36,7 +36,7 @@ class LivingController extends BaseController
'title'=>$model->title,
'pic'=>CommonImages::getTemplateComplex($model->pic, 2),
'living'=>$model->living,
'starting_time'=>$model->starting_time,
'starting_time'=>(int)$model->starting_time,
];
$ret[$k] = $row;
}
... ... @@ -129,7 +129,7 @@ class LivingController extends BaseController
'master_meta'=>$model->master->meta,
'title'=>$model->title,
'pic'=>CommonImages::getTemplateComplex($model->pic, 2),
'starting_time'=>$model->starting_time,
'starting_time'=>(int)$model->starting_time,
];
$ret[$k] = $row;
}
... ... @@ -221,7 +221,7 @@ class LivingController extends BaseController
'like_num'=>0,
'audience_num'=>0,//在线人数
'live_start_time'=>0,
'starting_time'=>$model->starting_time,//预告时间
'starting_time'=>(int)$model->starting_time,//预告时间
'rtmp_downstream_address'=>'',
'flv_downstream_address'=>'',
'hls_downstream_address'=>'',
... ...