提交 4cdc9c54 编写于 作者: zhouweidong's avatar zhouweidong

项目支持打war包

上级 2b658cfd
......@@ -2,13 +2,13 @@
TARGET=PSSYSAPP
</#ibiztemplate>
<#assign packageType="">
<#if app.getPSDCMSPlatform()??>
<#assign appPlatform=app.getPSDCMSPlatform()>
<#if ((item.getPSDCMSPlatform())!'')!=''>
<#assign appPlatform=item.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("ibiz.deploy.packagetype","")??>
<#assign packageType = appPlatform.getUserParam("ibiz.deploy.packagetype","")>
</#if>
</#if>
<#if packageType!=''>
<#if packageType=='war'>
package ${pub.getPKGCodeName()}.${app.getPKGCodeName()?lower_case};
import lombok.extern.slf4j.Slf4j;
......
......@@ -26,7 +26,7 @@ TARGET=PSSYSTEM
</#if>
</#list>
</#if>
<#if packageType!=''>
<#if packageType=='war'>
package ${pub.getPKGCodeName()}.core.util.config;
import com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration;
......
......@@ -2,13 +2,13 @@
TARGET=PSSYSSERVICEAPI
</#ibiztemplate>
<#assign packageType="">
<#if item.getPSDCMSPlatform()?? >
<#if ((item.getPSDCMSPlatform())!'')!=''>
<#assign sysApiPlatform=item.getPSDCMSPlatform()>
<#if sysApiPlatform.getUserParam("ibiz.deploy.packagetype","")??>
<#assign packageType = sysApiPlatform.getUserParam("ibiz.deploy.packagetype","")>
</#if>
</#if>
<#if packageType!=''>
<#if packageType=='war'>
package ${pub.getPKGCodeName()}.${item.codeName?lower_case};
import lombok.extern.slf4j.Slf4j;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册