<?php
|
$platform=$_GET['platform']; // 平台
|
$chanleId=$_GET['chanleId']; // 渠道
|
// 允许跨域请求
|
header("Access-Control-Allow-Origin: *");
|
// 服务器列表地址
|
$server_list_url = 'http://122.200.158.51:10086/api/role_h5.php';
|
// CDN地址
|
$cdn_url = '';
|
// 数据表地址
|
$data_url = '';
|
// 数据表类型(1:原生数据 2:压缩数据 3:高压缩数据)
|
$data_type = 1;
|
// 数据版本库
|
$data_ver = time();
|
|
|
$return_array = array();
|
$return_array["SERVER_LIST_URL"] = $server_list_url;
|
$return_array["CDN_URL"] = $cdn_url;
|
$return_array["DATA_URL"] = $data_url;
|
$return_array["DATA_TYPE"] = $data_type;
|
$return_array["DATA_VER"] = $data_ver;
|
echo json_encode($return_array);
|