Commit b065294d by 冷斌

update

parent afa2ca91
...@@ -1386,7 +1386,9 @@ class Api_User extends PhalApi_Api { ...@@ -1386,7 +1386,9 @@ class Api_User extends PhalApi_Api {
foreach ($labelIds as $item) { foreach ($labelIds as $item) {
$labelId = array_merge($labelId, array_filter(preg_split('/,|,/',$item['label']))); $labelId = array_merge($labelId, array_filter(preg_split('/,|,/',$item['label'])));
} }
var_dump(array_count_values($labelId)); $ids = array_count_values($labelId);
ksort($ids);
var_dump($ids);
die; die;
} else { } else {
$labelIds = $domain->getUserLabel($uid,$touid); $labelIds = $domain->getUserLabel($uid,$touid);
......
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