文件修改接口,修改文件名,是只修改FileName这个字段,而不是连location的那个位置的文件名也一起修改并且更新location字段吗?
我理解的文件名修改是指将
{
"FileSha1": "a2e4bce4fb37633ec00f4bb31666329c4cf9210f",
"FileName": "headline_notice@3x.png",
"FileSize": 2682,
"Location": "./uploadDir/headline_notice@3x.png",
"UploadAt": "2019-03-20 18:20:23"
}
修改成为
{
"FileSha1": "a2e4bce4fb37633ec00f4bb31666329c4cf9210f",
"FileName": "newName.png",
"FileSize": 2682,
"Location": "./uploadDir/newName.png",
"UploadAt": "2019-03-20 18:20:23"
}