mark 2 anos atrás
pai
commit
b54119f525
1 arquivos alterados com 4 adições e 4 exclusões
  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;
             }