Commit a4c2821a authored by zhuwei's avatar zhuwei

1

parent afa90c43
...@@ -329,7 +329,7 @@ class AmercementService ...@@ -329,7 +329,7 @@ class AmercementService
foreach ($result_img as $key => $val) { foreach ($result_img as $key => $val) {
$list_img[] = $val['file_name']; $list_img[] = $val['file_name'];
} }
$params_img = explode(',',$params['img']); $params_img = json_decode($params['img'], true);
foreach ($params_img as $key => $val) { foreach ($params_img as $key => $val) {
if(!in_array($val,$list_img)){ if(!in_array($val,$list_img)){
$insert=[]; $insert=[];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment