Authorization: Bearer ********************
{
"processId": "ee5b8c01-f47f-4ee0-81f9-71dd2a89b7d0",
"protectionRecordAttachment": {
"id": 421,
"businessType": null,
"fileName": "文件.txt",
"realName": "1756711643156nxji1t.txt",
"filePath": "/attachment/2025-09/01/1756711643156nxji1t.txt",
"fileExt": "txt",
"remark": null,
"saveTime": "2025-09-01 15:27:23",
"saveUserName": "sqrA",
"saveNickName": "申请人A",
"downloadPath": "/profile/attachment/2025-09/01/1756711643156nxji1t.txt",
"params": {}
}
}
curl --location --request PUT '/gcs/protection' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"processId": "ee5b8c01-f47f-4ee0-81f9-71dd2a89b7d0",
"protectionRecordAttachment": {
"id": 421,
"businessType": null,
"fileName": "文件.txt",
"realName": "1756711643156nxji1t.txt",
"filePath": "/attachment/2025-09/01/1756711643156nxji1t.txt",
"fileExt": "txt",
"remark": null,
"saveTime": "2025-09-01 15:27:23",
"saveUserName": "sqrA",
"saveNickName": "申请人A",
"downloadPath": "/profile/attachment/2025-09/01/1756711643156nxji1t.txt",
"params": {}
}
}'
{
"msg": "string",
"code": 0
}