Commit 47b6b489 by 冷斌

update

parent 87234cab
...@@ -1384,7 +1384,9 @@ class Api_User extends PhalApi_Api { ...@@ -1384,7 +1384,9 @@ class Api_User extends PhalApi_Api {
$labelIds = $domain->getUserLabel(0,$touid); $labelIds = $domain->getUserLabel(0,$touid);
$labelId = []; $labelId = [];
foreach ($labelIds as $item) { foreach ($labelIds as $item) {
$labelId = array_merge($labelId, preg_split('/,|,/',$item['label'])); $labelId = array_merge($labelId, array_map(function($ids){
var_dump($ids);
}, preg_split('/,|,/',$item['label'])));
} }
var_dump($labelId); var_dump($labelId);
die; die;
......
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