我有正在存储文件的回送组件存储文件。现在我想在附件.js文件中获取附件的文件名。
attachment.json
{
"name": "attachment",
"base": "Model",
"idInjection": true,
"options": {
"validateUpsert": true
},
"properties": {},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
attachment.js
'use strict';
module.exports = function(Attachment) {
};
我想在attachment.js中打印附件文件名。