customer defeat reason add tag_name
This commit is contained in:
@@ -423,12 +423,12 @@ class Customers extends Wxapp
|
||||
throw new Exception("请选择标签[{$val['name']}]!", ERR_PARAMS_ERROR);
|
||||
}*/
|
||||
$tag_arr_all = array_merge($tag_arr_all, $tag_arr);
|
||||
$tag_str .= $val['name'].': '.implode(', ', $tag_arr).'; ';
|
||||
$tag_arr && $tag_str .= $val['name'].': '.implode(', ', $tag_arr).'; ';
|
||||
}
|
||||
if (!$tag_checked){
|
||||
throw new Exception("请选择至少一个标签!", ERR_PARAMS_ERROR);
|
||||
}
|
||||
$tag_str = implode(', ', $tag_arr_all);
|
||||
#$tag_str = implode(', ', $tag_arr_all);
|
||||
$jsondata = $row['jsondata'] ? json_decode($row['jsondata'], true) : array();
|
||||
$jsondata['defeat']['time'] = date("Y-m-d H:i:s");
|
||||
$jsondata['defeat']['reason'] = $defeat_reason."({$tag_str})";
|
||||
|
||||
Reference in New Issue
Block a user