|
@@ -216,16 +216,16 @@ class HomeLogic extends BaseLogic
|
|
|
$data = [
|
|
|
"type"=>1,
|
|
|
"url"=>$res["h5"],
|
|
|
- "app_id"=>$res["we_app_info"]["app_id"],
|
|
|
- "page_path"=>$res["we_app_info"]["page_path"]
|
|
|
+ "app_id"=>$res["we_app_info"]["app_id"]??"",
|
|
|
+ "page_path"=>$res["we_app_info"]["page_path"]??""
|
|
|
];
|
|
|
break;
|
|
|
case 2://小程序跳转
|
|
|
$data = [
|
|
|
"type"=>2,
|
|
|
"url"=>$res["h5"],
|
|
|
- "app_id"=>$res["we_app_info"]["app_id"],
|
|
|
- "page_path"=>$res["we_app_info"]["page_path"]
|
|
|
+ "app_id"=>$res["we_app_info"]["app_id"]??"",
|
|
|
+ "page_path"=>$res["we_app_info"]["page_path"]??""
|
|
|
];
|
|
|
break;
|
|
|
}
|