lrf402788946 4 năm trước cách đây
mục cha
commit
11723a661f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/service/dock/patent.js

+ 1 - 0
app/service/dock/patent.js

@@ -15,6 +15,7 @@ class PatentService extends CrudService {
     super(ctx, 'patent');
     super(ctx, 'patent');
     this.model = this.ctx.model.Patent;
     this.model = this.ctx.model.Patent;
     this.root_path = _.get(this.ctx.app.config.export, 'root_path');
     this.root_path = _.get(this.ctx.app.config.export, 'root_path');
+    console.log(`root_path=>${this.root_path}`);
     this.file_type = '';
     this.file_type = '';
     if (!fs.existsSync(`${this.root_path}${this.file_type}`)) {
     if (!fs.existsSync(`${this.root_path}${this.file_type}`)) {
       // 如果不存在文件夹,就创建
       // 如果不存在文件夹,就创建