附件處理
{
"fileUUID": "30381c3458faf2d31c38aed42e7c6e17",
"fileName": "1.png",
"fileSize": 74506,
"fileMime": "image/png",
"isTmp": 1
}Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
funCodestringRequired
約定的功能代碼,例如:請假單="wf010"
attachmentstring · binaryRequired
multipart request 的 field name 必須是 'attachment'
Responses
200
成功
No content
401
認證失敗 (請更新 accessToken 再試一次)
403
權限不足
440
參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)
450
MulterError { code: 450, msg?: string }
500
系統異常 { code: 500, msg: string }
post
/api/file/attachNo content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
uuidstringRequired
FILE UUID
Responses
200
成功
No content
401
認證失敗 (請更新 accessToken 再試一次)
403
權限不足
440
參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)
500
系統異常 { code: 500, msg: string }
post
/api/file/detachNo content
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
uuidstringRequired
FILE UUID
Responses
200
成功
No content
401
認證失敗 (請更新 accessToken 再試一次)
403
權限不足
440
參數錯誤 (請檢查 parameters 或 request body 的欄位、格式是否完整及正確)
500
系統異常 { code: 500, msg: string }
post
/api/file/downloadNo content
Last updated