增加官网的地址到配置文件里
This commit is contained in:
parent
efaf2353f2
commit
001191b9c5
@ -628,9 +628,10 @@ public class EsignPlatformInfoServiceImpl extends BaseServiceImpl<EsignPlatformI
|
|||||||
|
|
||||||
// 官网的邀请链接
|
// 官网的邀请链接
|
||||||
if (CommonConstant.Enable.equals(record.getStatus())) {
|
if (CommonConstant.Enable.equals(record.getStatus())) {
|
||||||
record.setInvite_url(websiteDomain + "/start?invite_code=" + record.getInvite_code());
|
String domain = StrUtil.blankToDefault(websiteDomain, "https://www.gpxscs.cn");
|
||||||
|
record.setInvite_url(domain + "/start?invite_code=" + record.getInvite_code());
|
||||||
}
|
}
|
||||||
|
|
||||||
return CommonResult.success(record);
|
return CommonResult.success(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
3
pom.xml
3
pom.xml
@ -405,6 +405,7 @@
|
|||||||
<!-- 图片上传配置 -->
|
<!-- 图片上传配置 -->
|
||||||
<upload.filepath>D:/wwwroot/mall/public/static</upload.filepath>
|
<upload.filepath>D:/wwwroot/mall/public/static</upload.filepath>
|
||||||
<!--项目域名-->
|
<!--项目域名-->
|
||||||
|
<project.website>https://www.gpxscs.cn</project.website>
|
||||||
<project.domain>https://mall.gpxscs.cn</project.domain>
|
<project.domain>https://mall.gpxscs.cn</project.domain>
|
||||||
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
||||||
</properties>
|
</properties>
|
||||||
@ -458,6 +459,7 @@
|
|||||||
<!-- 图片上传配置 -->
|
<!-- 图片上传配置 -->
|
||||||
<upload.filepath>/opt/apps/mall/public/static</upload.filepath>
|
<upload.filepath>/opt/apps/mall/public/static</upload.filepath>
|
||||||
<!--项目域名-->
|
<!--项目域名-->
|
||||||
|
<project.website>https://www.gpxscs.cn</project.website>
|
||||||
<project.domain>https://mall.gpxscs.cn</project.domain>
|
<project.domain>https://mall.gpxscs.cn</project.domain>
|
||||||
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
||||||
</properties>
|
</properties>
|
||||||
@ -511,6 +513,7 @@
|
|||||||
<!-- 图片上传配置 -->
|
<!-- 图片上传配置 -->
|
||||||
<upload.filepath>/opt/apps/mall/public/static</upload.filepath>
|
<upload.filepath>/opt/apps/mall/public/static</upload.filepath>
|
||||||
<!--项目域名-->
|
<!--项目域名-->
|
||||||
|
<project.website>https://www.gpxscs.cn</project.website>
|
||||||
<project.domain>https://mall.gpxscs.cn</project.domain>
|
<project.domain>https://mall.gpxscs.cn</project.domain>
|
||||||
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
<project.static_domain>https://static.gpxscs.cn</project.static_domain>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user