From 138544cbf548546a310680504e6a0485017380ed Mon Sep 17 00:00:00 2001 From: public_host Date: Mon, 26 Apr 2021 10:33:51 +0800 Subject: [PATCH] fix --- hasaki-gen-crud/hasaki-gen-crud.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hasaki-gen-crud/hasaki-gen-crud.js b/hasaki-gen-crud/hasaki-gen-crud.js index 310dd3c..bd23fef 100644 --- a/hasaki-gen-crud/hasaki-gen-crud.js +++ b/hasaki-gen-crud/hasaki-gen-crud.js @@ -165,7 +165,7 @@ try { let httpFileName = path.join(fileDir, `auto_generated_http_crud_${underscore_naming}_${struct}_${fileBaseName}`) - let mark = `//该文件由插件自动生成,无特殊情况请勿改动`; + let mark = `//${package_src} 该文件由插件自动生成,无特殊情况请勿改动`; fs.writeFile(crudFileName, `${mark}\n\n${package_src}\n\n${tmp[2]}`, function () { goplsfix(crudFileName);