mark 2 년 전
부모
커밋
b54119f525
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      app/Http/Logic/Home/HomeLogic.php

+ 4 - 4
app/Http/Logic/Home/HomeLogic.php

@@ -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;
             }