示例#1
0
 public function getAvailableManagerDetails($where)
 {
     try {
         $result = Users::whereRaw($where['rawQuery'], isset($where['bindParams']) ? $where['bindParams'] : array())->join('permission_user_relation', 'users.id', '=', 'permission_user_relation.user_id')->select(['id', 'username', 'email', 'created_at', 'updated_at', 'status'])->get();
         return $result;
     } catch (\Exception $e) {
         return $e->getMessage();
     }
 }