修改服务通知排序,修改医生我的账户接口

This commit is contained in:
2023-04-07 10:46:19 +08:00
parent 5ddc4d1c0a
commit 5776001cfe
10 changed files with 171 additions and 91 deletions
+1 -1
View File
@@ -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();