|
@ -167,12 +167,12 @@ try { |
|
|
|
|
|
|
|
|
let mark = `/*该文件由插件自动生成,无特殊情况请勿改动*/`; |
|
|
let mark = `/*该文件由插件自动生成,无特殊情况请勿改动*/`; |
|
|
|
|
|
|
|
|
fs.writeFile(crudFileName, `${mark}\n${package_src}\n\n${tmp[2]}`, function () { |
|
|
|
|
|
|
|
|
fs.writeFile(crudFileName, `${package_src}\n${mark}\n\n${tmp[2]}`, function () { |
|
|
goplsfix(crudFileName); |
|
|
goplsfix(crudFileName); |
|
|
|
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
fs.writeFile(httpFileName, `${mark}\n${package_src}\n\n${tmp[3]}`, function () { |
|
|
|
|
|
|
|
|
fs.writeFile(httpFileName, `${package_src}\n${mark}\n\n${tmp[3]}`, function () { |
|
|
|
|
|
|
|
|
goplsfix(httpFileName); |
|
|
goplsfix(httpFileName); |
|
|
}) |
|
|
}) |
|
|