|
|
|
@ -213,7 +213,18 @@ class PromoteController extends BaseController
|
|
|
|
|
->order("sv.start_time desc")
|
|
|
|
|
//->page(1, 20)
|
|
|
|
|
->select();;
|
|
|
|
|
|
|
|
|
|
foreach ($open_server_list as $key => $server){
|
|
|
|
|
$open_server_list[$key]['icon']=get_cover($server['icon'],'path');
|
|
|
|
|
if($server['pay_type']==1){
|
|
|
|
|
$open_server_list[$key]['pay_type']='安卓';
|
|
|
|
|
}elseif ($server['pay_type']==1){
|
|
|
|
|
$open_server_list[$key]['pay_type']='iOS';
|
|
|
|
|
}else{
|
|
|
|
|
$open_server_list[$key]['pay_type']='安卓、iOS';
|
|
|
|
|
}
|
|
|
|
|
$open_server_list[$key]['pay_type'];
|
|
|
|
|
$open_server_list[$key]['start_time'] = date('Y-m-s h:i',$server['start_time']);
|
|
|
|
|
}
|
|
|
|
|
$this->ajaxReturn(['status'=>1,'info'=>'调用成功','data'=>$open_server_list],"JSON");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|