提交 2ba76612 编写于 作者: sq3536's avatar sq3536

兼容windows

上级 aff46c4f
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
{{#apps}} {{#each system.apps}}
<module>{{projectName}}-app-{{lowerCase app.codeName}}</module> <module>{{projectName}}-app-{{lowerCase codeName}}</module>
{{/apps}} {{/each}}
</modules> </modules>
<dependencies> <dependencies>
......
...@@ -20,21 +20,21 @@ ...@@ -20,21 +20,21 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
{{#apis}} {{#each system.apis}}
<dependency> <dependency>
<groupId>{{packageName}}</groupId> <groupId>{{packageName}}</groupId>
<artifactId>{{projectName}}-provider-{{lowerCase api.codeName}}</artifactId> <artifactId>{{projectName}}-provider-{{lowerCase codeName}}</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
{{/apis}} {{/each}}
{{#apps}} {{#each system.apps}}
<dependency> <dependency>
<groupId>{{packageName}}</groupId> <groupId>{{packageName}}</groupId>
<artifactId>{{projectName}}-app-{{lowerCase app.codeName}}</artifactId> <artifactId>{{projectName}}-app-{{lowerCase codeName}}</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
{{/apps}} {{/each}}
</dependencies> </dependencies>
<!--由于boot是通过dependency来关联所有子项目,页面和配置等信息都存在与子项目中, <!--由于boot是通过dependency来关联所有子项目,页面和配置等信息都存在与子项目中,
......
...@@ -65,7 +65,7 @@ zuul: ...@@ -65,7 +65,7 @@ zuul:
path: /sysauthlogs path: /sysauthlogs
serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}} serviceId: ${ibiz.ref.service.uaa:ibzuaa-api}}
stripPrefix: false stripPrefix: false
{{#each apps as | webapp |}} {{#each system.apps as | webapp |}}
{{#each webapp.appEntities as |appEntity|}} {{#each webapp.appEntities as |appEntity|}}
{{#eq appEntity.entity.storage "ServiceAPI"}} {{#eq appEntity.entity.storage "ServiceAPI"}}
{{#appEntity.serviceId}} {{#appEntity.serviceId}}
......
spring: spring:
profiles: profiles:
include: sys , nacos ,{{#each apps}} {{lowerCase app.codeName}}-dev ,{{/each}}{{#each apis}} {{lowerCase api.codeName}}-dev ,{{/each}} dev include: sys , nacos ,{{#each system.apps}} {{lowerCase codeName}}-dev ,{{/each}}{{#each system.apis}} {{lowerCase codeName}}-dev ,{{/each}} dev
application: application:
name: {{projectName}} name: {{projectName}}
main: main:
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
<description>{{projectDesc}} Provider</description> <description>{{projectDesc}} Provider</description>
<modules> <modules>
{{#apis}} {{#each system.apis}}
<module>{{projectName}}-provider-{{lowerCase api.codeName}}</module> <module>{{projectName}}-provider-{{lowerCase codeName}}</module>
{{/apis}} {{/each}}
</modules> </modules>
<dependencies> <dependencies>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册