...
|
...
|
@@ -695,16 +695,16 @@ class IndexController extends AbstractAction |
|
|
/* 检查联盟参数是否有效 */
|
|
|
$unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true);
|
|
|
} else {
|
|
|
$unionObj = ["client_id": $_COOKIE['mkt_code']];
|
|
|
$unionObj = array("client_id" => $_COOKIE['mkt_code']);
|
|
|
|
|
|
if (!empty($_COOKIE['union_data'])) {
|
|
|
$unionObj = array_merge($unionObj, ["union_data": $_COOKIE['union_data']]);
|
|
|
$unionObj = array_merge($unionObj, array("union_data" => $_COOKIE['union_data']));
|
|
|
}
|
|
|
|
|
|
$unionKey = json_encode($unionObj);
|
|
|
|
|
|
/* 检查联盟参数是否有效 */
|
|
|
$unionInfo = ["client_id": $_COOKIE['mkt_code']];
|
|
|
$unionInfo = array("client_id" => $_COOKIE['mkt_code']);
|
|
|
}
|
|
|
|
|
|
/* 模拟APP的User-Agent */
|
...
|
...
|
|