|
@@ -123,7 +123,7 @@ module.exports = app => {
|
|
|
await this._analysisDetailAtt(detailAtt);
|
|
|
|
|
|
const index = detailAtt.attachment.findIndex(x => { return x.file_id === fileId });
|
|
|
- if (index < 0) throw '不存在改文件';
|
|
|
+ if (index < 0) throw '不存在该文件';
|
|
|
const att = detailAtt.attachment[index];
|
|
|
if (att.uid !== this.ctx.session.sessionUser.accountId) throw '您无权删除该文件';
|
|
|
|