Authorization: Bearer ********************{
"enabled": true,
"expireTime": "string",
"noticeContent": "string",
"noticeLevel": "Normal",
"noticeScope": "AllAdmin",
"noticeTitle": "string",
"pinned": true,
"remark": "string",
"sort": 0,
"targetRoleIds": [
0
],
"targetUserIds": [
0
]
}curl --location '/api/notice' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"enabled": true,
"expireTime": "string",
"noticeContent": "string",
"noticeLevel": "Normal",
"noticeScope": "AllAdmin",
"noticeTitle": "string",
"pinned": true,
"remark": "string",
"sort": 0,
"targetRoleIds": [
0
],
"targetUserIds": [
0
]
}'