mark před 2 roky
rodič
revize
b54119f525
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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;
             }