h5域名-@ReplaceAppDomain注入

This commit is contained in:
khalil
2023-12-13 18:36:09 +08:00
parent 7d5642ba9d
commit c174a749fe
5 changed files with 11 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package com.accompany.community.vo;
import com.accompany.common.annotation.ReplaceAppDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
@@ -26,6 +27,7 @@ public class DynamicResVo implements Serializable {
/**
* 资源url
*/
@ReplaceAppDomain
private String resUrl;
/**

View File

@@ -1,5 +1,6 @@
package com.accompany.business.model;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.accompany.common.utils.ReplaceDomainInterface;
import java.util.Date;
@@ -21,6 +22,7 @@ public class AppActivity implements ReplaceDomainInterface {
private Byte skipType;
@ReplaceAppDomain
private String skipUrl;
private Integer seqNo;

View File

@@ -1,5 +1,6 @@
package com.accompany.business.model.personalcenter;
import com.accompany.common.annotation.ReplaceAppDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
@@ -34,6 +35,7 @@ public class PersonalCenter {
@TableField(value = "center_url")
@ApiModelProperty("个人中心功能跳转url")
@ReplaceAppDomain
private String centerUrl;
@TableField(value = "center_status")

View File

@@ -1,5 +1,7 @@
package com.accompany.business.vo;
import com.accompany.common.annotation.ReplaceAppDomain;
/**
* Created by PaperCut on 2018/4/20.
*/
@@ -10,6 +12,7 @@ public class PanelVo {
private Byte skipType;
@ReplaceAppDomain
private String skipUrl;
private String panelPic;

View File

@@ -25,6 +25,7 @@ public class GameManageBannerVo implements ReplaceDomainInterface {
/**
* 跳转位置
*/
@ReplaceAppDomain
private String skipUri;
/**
@@ -48,6 +49,7 @@ public class GameManageBannerVo implements ReplaceDomainInterface {
/**
* 跳转位置兼容ios使用字段错误
*/
@ReplaceAppDomain
private String skipUrl;
public void setSkipUrl(String url) {