调整新增功能部分接口

This commit is contained in:
mzl@hnxinyouhe.com
2025-08-13 18:40:36 +08:00
parent 2696f52db2
commit 5c6fed4e40
10 changed files with 80 additions and 14 deletions
+5
View File
@@ -63,6 +63,11 @@ class UserService
}
$config['fields'] = ['id','sn', 'name', 'email', 'sex', 'phone', 'avatar', 'corp_id', 'country_id', 'position', 'status', 'created_at'];
$config['with']['roles'][] = 'id';
$config['with']['roles'][] = 'name';
$config['with']['systems'][] = 'id';
$config['with']['systems'][] = 'name';
break;
case 'show':
$config['where']['id'] = $p['id'];