allocatr/application/services/AbnormalService.php
2025-04-20 09:37:25 +08:00

19 lines
336 B
PHP

<?php
namespace app\services;
class AbnormalService extends BaseService
{
public function findAll()
{
return $this->getAbnormalModel()
->where('type', 1)
->order('sort', 'desc')
->field([
'id',
'title',
])
->select();
}
}