修改服务通知排序,修改医生我的账户接口
This commit is contained in:
@@ -100,7 +100,7 @@ class MessageNotice extends Model
|
||||
public static function getMessageNoticePage(array $params, array $fields = ["*"], int $page = null, ?int $per_page = 10): array
|
||||
{
|
||||
$results = self::where($params)
|
||||
->orderBy('notice_send_time')
|
||||
->orderBy('notice_send_time','desc')
|
||||
->paginate($per_page, $fields, "page", $page);
|
||||
|
||||
$data = array();
|
||||
|
||||
Reference in New Issue
Block a user