|
@@ -21,6 +21,7 @@ class EnterpriseApi {
|
|
|
public static function getSimpleList($extra = array()) {
|
|
|
$where[] = ["active", "=", 1];
|
|
|
$where[] = ["delete", "=", 0];
|
|
|
+ $where[] = ['type','=',session('user')['type']];
|
|
|
if ($extra) {
|
|
|
$where = array_merge($where, $extra);
|
|
|
}
|