Browse Source

2023-5-22-1 新增服务区-2

yingzi 1 year ago
parent
commit
f9d8b9d0d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -469,7 +469,7 @@ class User extends BaseController
             ['store_name','','',''],
         ],$request);
         $save=[];
-        $save["service_audit_imgs"] = empty($post["service_audit_imgs"]) ? "" : implode(",", $post["service_audit_imgs"]);
+        $save["service_audit_imgs"] = is_array($post["service_audit_imgs"]) ? implode(",", $post["service_audit_imgs"]) : "";
         $save["store_name"] = empty($post["store_name"]) ? "" : $post["store_name"];
         $save["status"] = 0;
         $save["time"]   = time();