|
@ -165,7 +165,7 @@ try { |
|
|
let httpFileName = path.join(fileDir, `auto_generated_http_crud_${underscore_naming}_${struct}_${fileBaseName}`) |
|
|
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 () { |
|
|
fs.writeFile(crudFileName, `${mark}\n\n${package_src}\n\n${tmp[2]}`, function () { |
|
|
goplsfix(crudFileName); |
|
|
goplsfix(crudFileName); |
|
|