| 123456789101112131415161718192021222324252627282930 |
- <?php
- namespace biz\admin\classes;
- use biz\base\classes\BaseClass;
- class AdminClass extends BaseClass
- {
- public static $baseFile = '\biz\admin\models\Admin';
- const STYLE_GHS = 2;
- const STYLE_HD = 1;
- const OPEN_SHOP_NO = 1;
- const OPEN_SHOP_CHECK = 2;
- const OPEN_SHOP_YES = 3;
- const SUPER_YES = 1;
- const SUPER_NO = 0;
- //lqh 2021.5.14 [id=>adminData]
- public static function getAdminMap($adminIds)
- {
- $where = [];
- $where['id'] = ['in', $adminIds];
- $data = self::getAllByCondition($where, null, "*");
- return array_column($data, null, "id");
- }
- }
|