示例#1
0
文件: User.php 项目: gtcrais/gtcms
 public static function usersList()
 {
     $users = User::all();
     if ($users->count()) {
         $params = array('itemName' => 'fullName');
         $list = array();
         $list = Tools::createItemList($users, $list, $params);
         return $list;
     } else {
         return array();
     }
 }