|
@@ -164,6 +164,7 @@ class ActivityController extends BaseController
|
|
|
if($count_info && $count_info->count){
|
|
|
$count = $count_info->count;
|
|
|
}
|
|
|
+ $default_url = env('H5_SCHEME', 'https') . '://site' . $this->en_distribution_channel_id . '.' . env('CUSTOM_HOST') . '.com';
|
|
|
foreach ($products as $v) {
|
|
|
$param = [
|
|
|
'uid' => $this->uid,
|
|
@@ -171,7 +172,7 @@ class ActivityController extends BaseController
|
|
|
'product_id' => $v,
|
|
|
'activity_id' => $activity_info->id,
|
|
|
'fromtype' => $from,
|
|
|
- 'pay_redirect_url' => '/activity/huaweiActivity?'.http_build_query($request_param),
|
|
|
+ 'pay_redirect_url' => $default_url.'/activity/huaweiActivity?'.http_build_query($request_param),
|
|
|
'limit' => 100,
|
|
|
];
|
|
|
$url[] = env('CREATE_PAY_URL') . '?' . http_build_query($param);
|