|
@@ -207,7 +207,7 @@ class HomeLogic extends BaseLogic
|
|
|
break;
|
|
|
case 6://聚推客
|
|
|
$platformSid = BaseUtil::getPlatformUserSpreadId(PlatformTypeEnum::PLATFORM_JUTUIKE,$userId);
|
|
|
- $data = JutuikeUtil::transferAct($platformSid,$act->activity_id);
|
|
|
+ $res = JutuikeUtil::transferAct($platformSid,$act->activity_id);
|
|
|
break;
|
|
|
}
|
|
|
|
|
@@ -215,17 +215,17 @@ class HomeLogic extends BaseLogic
|
|
|
case 1://h5链接
|
|
|
$data = [
|
|
|
"type"=>1,
|
|
|
- "url"=>$data["h5"],
|
|
|
- "app_id"=>$data["we_app_info"]["app_id"],
|
|
|
- "page_path"=>$data["we_app_info"]["page_path"]
|
|
|
+ "url"=>$res["h5"],
|
|
|
+ "app_id"=>$res["we_app_info"]["app_id"],
|
|
|
+ "page_path"=>$res["we_app_info"]["page_path"]
|
|
|
];
|
|
|
break;
|
|
|
case 2://小程序跳转
|
|
|
$data = [
|
|
|
"type"=>2,
|
|
|
- "url"=>$data["h5"],
|
|
|
- "app_id"=>$data["we_app_info"]["app_id"],
|
|
|
- "page_path"=>$data["we_app_info"]["page_path"]
|
|
|
+ "url"=>$res["h5"],
|
|
|
+ "app_id"=>$res["we_app_info"]["app_id"],
|
|
|
+ "page_path"=>$res["we_app_info"]["page_path"]
|
|
|
];
|
|
|
break;
|
|
|
}
|