|
@@ -72,7 +72,7 @@ module.exports = app => {
|
|
// if (fs.existsSync(path.join(this.app.baseDir, 'app/' + sfInfo.qrcode))) {
|
|
// if (fs.existsSync(path.join(this.app.baseDir, 'app/' + sfInfo.qrcode))) {
|
|
// await fs.unlinkSync(path.join(this.app.baseDir, 'app/' + sfInfo.qrcode));
|
|
// await fs.unlinkSync(path.join(this.app.baseDir, 'app/' + sfInfo.qrcode));
|
|
// }
|
|
// }
|
|
- await this.ctx.app.fujianOss.delete(ctx.app.config.fujianOssFolder + sfInfo.qrcode);
|
|
|
|
|
|
+ await this.ctx.app.fujianOss.delete(this.ctx.app.config.fujianOssFolder + sfInfo.qrcode);
|
|
await transaction.delete(this.ctx.service.stageShoufangAtt.tableName, { sfid });
|
|
await transaction.delete(this.ctx.service.stageShoufangAtt.tableName, { sfid });
|
|
await transaction.delete(this.tableName, { id: sfid });
|
|
await transaction.delete(this.tableName, { id: sfid });
|
|
await transaction.commit();
|
|
await transaction.commit();
|