|
@@ -40,8 +40,6 @@ export class PatentService extends BaseService<modelType> {
|
|
|
root_path;
|
|
|
@Config('export.patentInfo_dir')
|
|
|
patentInfo_dir;
|
|
|
- @Config('export.file_type')
|
|
|
- file_type;
|
|
|
@Config('export.export_dir')
|
|
|
export_dir;
|
|
|
|
|
@@ -242,7 +240,7 @@ export class PatentService extends BaseService<modelType> {
|
|
|
const typeList: any = await this.adminAxios.get(
|
|
|
'dictData?type=patent_type'
|
|
|
);
|
|
|
- const path = `${this.root_path}${sep}${this.file_type}${sep}${
|
|
|
+ const path = `${this.root_path}${sep}${this.export_dir}${sep}${
|
|
|
this.patentInfo_dir
|
|
|
}${new Date().getTime()}`;
|
|
|
if (!path) {
|