模版生成增加application.assistant.yml文件

This commit is contained in:
thinkgem
2025-07-21 18:53:40 +08:00
parent c887260f40
commit 5bf6c026f0
2 changed files with 25 additions and 0 deletions

View File

@@ -260,6 +260,7 @@
<template>module/src/main/resources/config/jeesite.xml</template>
<template>module/src/main/resources/db/versions.xml</template>
<template>module/src/main/resources/static/static.xml</template>
<template>module/src/main/resources/application-assistant.xml</template>
<template>module/pom.xml</template>
</category>
<category value="module_cloud" label="生成微服务模块代码Cloud">

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2013-Now http://jeesite.com All rights reserved.
No deletion without permission, or be held responsible to law. -->
<template>
<name>jeesite</name>
<filePath>${baseDir}/${modulePath}/src/main/resources</filePath>
<fileName>application-assistant.yml</fileName>
<content><![CDATA[
<% print('\n'); %>
## 重要提示Tip
## 请勿在该配置文件中添加其它任何配置(添加也不会生效)。
## 该文件,仅仅是为了让 jeesite-${moduleCode}.yml 文件,
## 在 IDEA 中有一个自动完成及帮助提示,并无其它用意。
## 参数配置请在 jeesite-bpm.yml 文件中添加。
spring:
config:
import:
- classpath:config/jeesite-${moduleCode}.yml
]]>
</content>
</template>