...
|
...
|
@@ -85,8 +85,10 @@ class CouponController extends AbstractAction |
|
|
if (!$this->isApp()) {
|
|
|
$returnData['url'] = Helpers::url('/signin.html', array('refer' => $playUrl), 'default');
|
|
|
} else {
|
|
|
$playUrlEncode = strtr($playUrl, array('/' => '\\/'));
|
|
|
$returnData['url'] = $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app","code":"' . $receiveData['code'] . '"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
|
|
|
$playUrlEncode = strtr($playUrl . '?code=' . $receiveData['code'], array('/' => '\\/'));
|
|
|
$returnData['url'] = $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
|
|
|
// $playUrlEncode = strtr($playUrl, array('/' => '\\/'));
|
|
|
// $returnData['url'] = $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app","code":"' . $receiveData['code'] . '"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
|
|
|
}
|
|
|
} else {
|
|
|
// 登录后调用领券接口
|
...
|
...
|
|