Commit ba9d3276 authored by fangliyan's avatar fangliyan

base_id 取消收藏

parent e1a728f2
...@@ -887,6 +887,7 @@ class User_model extends MY_Model ...@@ -887,6 +887,7 @@ class User_model extends MY_Model
$base_id_where = "'".$base_id."'"; $base_id_where = "'".$base_id."'";
$base_id = explode(',',$base_id); $base_id = explode(',',$base_id);
if(count($base_id)>1){ if(count($base_id)>1){
$base_id_where = '';
foreach ($base_id as $key => $value) { foreach ($base_id as $key => $value) {
$base_id_where .= "'".$value."',"; $base_id_where .= "'".$value."',";
} }
......
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