Merge branch 'feature/stock_next' into develop
This commit is contained in:
@@ -90,6 +90,9 @@ class UserService
|
|||||||
if (isset($p['id']) && $p['id']) {
|
if (isset($p['id']) && $p['id']) {
|
||||||
$config['where']['id'] = $p['id'];
|
$config['where']['id'] = $p['id'];
|
||||||
}
|
}
|
||||||
|
if (isset($p['corp_id']) && $p['corp_id']) {
|
||||||
|
$config['where']['corp_id'] = $p['corp_id'];
|
||||||
|
}
|
||||||
|
|
||||||
$config['fields'] = ['id','sn', 'name', 'email', 'sex', 'phone', 'avatar', 'corp_id', 'country_id', 'position', 'report_to', 'status', 'created_at'];
|
$config['fields'] = ['id','sn', 'name', 'email', 'sex', 'phone', 'avatar', 'corp_id', 'country_id', 'position', 'report_to', 'status', 'created_at'];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user