if (is_array($goods_ids) && !empty($goods_ids)){ $goods_ids = array_unique($goods_ids); $goods_ids = "'" . implode("','", $goods_ids) . "'"; // 拼接字符}
$goods_sns = str_replace(" ", ',', str_replace(" ", '', $_POST['sn_list']));