Showing
1 changed file
with
3 additions
and
3 deletions
@@ -695,16 +695,16 @@ class IndexController extends AbstractAction | @@ -695,16 +695,16 @@ class IndexController extends AbstractAction | ||
695 | /* 检查联盟参数是否有效 */ | 695 | /* 检查联盟参数是否有效 */ |
696 | $unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true); | 696 | $unionInfo = empty($unionKey) ? array() : json_decode($unionKey, true); |
697 | } else { | 697 | } else { |
698 | - $unionObj = ["client_id": $_COOKIE['mkt_code']]; | 698 | + $unionObj = array("client_id" => $_COOKIE['mkt_code']); |
699 | 699 | ||
700 | if (!empty($_COOKIE['union_data'])) { | 700 | if (!empty($_COOKIE['union_data'])) { |
701 | - $unionObj = array_merge($unionObj, ["union_data": $_COOKIE['union_data']]); | 701 | + $unionObj = array_merge($unionObj, array("union_data" => $_COOKIE['union_data'])); |
702 | } | 702 | } |
703 | 703 | ||
704 | $unionKey = json_encode($unionObj); | 704 | $unionKey = json_encode($unionObj); |
705 | 705 | ||
706 | /* 检查联盟参数是否有效 */ | 706 | /* 检查联盟参数是否有效 */ |
707 | - $unionInfo = ["client_id": $_COOKIE['mkt_code']]; | 707 | + $unionInfo = array("client_id" => $_COOKIE['mkt_code']); |
708 | } | 708 | } |
709 | 709 | ||
710 | /* 模拟APP的User-Agent */ | 710 | /* 模拟APP的User-Agent */ |
-
Please register or login to post a comment