curl --location --request GET 'http://127.0.0.1:6810/api/announcements?page_number=1&page_size=20' \
--header 'Authorization: Bearer <token>'{
"code": "GET_ANNOUNCEMENTS",
"message": "成功获取公告",
"data": {
"items": [
{
"id": 1,
"content": "Just for a test",
"type": 0,
"important": true,
"force_show": true,
"created_at": "2025-09-28T15:27:36.765Z",
"updated_at": "2025-09-28T15:27:36.765Z"
}
],
"page": 1,
"page_size": 20,
"total": 1
}
}