模版生成增加application.assistant.yml文件
This commit is contained in:
@@ -260,6 +260,7 @@
|
|||||||
<template>module/src/main/resources/config/jeesite.xml</template>
|
<template>module/src/main/resources/config/jeesite.xml</template>
|
||||||
<template>module/src/main/resources/db/versions.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/static/static.xml</template>
|
||||||
|
<template>module/src/main/resources/application-assistant.xml</template>
|
||||||
<template>module/pom.xml</template>
|
<template>module/pom.xml</template>
|
||||||
</category>
|
</category>
|
||||||
<category value="module_cloud" label="生成微服务模块代码(Cloud)">
|
<category value="module_cloud" label="生成微服务模块代码(Cloud)">
|
||||||
|
|||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user