Commit 87f56763 by 冷斌

update

parent 11cbe606
...@@ -1382,7 +1382,11 @@ class Api_User extends PhalApi_Api { ...@@ -1382,7 +1382,11 @@ class Api_User extends PhalApi_Api {
if ($uid == $touid) { if ($uid == $touid) {
$labelIds = $domain->getUserLabel(0,$touid); $labelIds = $domain->getUserLabel(0,$touid);
var_dump($labelIds); $labelId = [];
foreach ($labelIds as $item) {
$labelId = array_merge($labelId, preg_split('/,|,/',$labelIds['label']));
}
var_dump($labelId);
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