biz混淆后全部启动
This commit is contained in:
@@ -1,32 +1,30 @@
|
||||
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod, Exceptions
|
||||
-keep @org.springframework.stereotype.Service class *
|
||||
-keep @org.springframework.web.bind.annotation.RestController class *
|
||||
-keep @org.springframework.context.annotation.Configuration class *
|
||||
-keep @org.springframework.context.annotation.Configuration class * { *; }
|
||||
-keep @org.springframework.stereotype.Component class *
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers enum * { # 保留枚举结构
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { # 保留序列化类
|
||||
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||
private void writeObject(java.io.ObjectOutputStream);
|
||||
private void readObject(java.io.ObjectInputStream);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { *; }
|
||||
-keepclassmembers class * {
|
||||
@org.springframework.web.bind.annotation.*Mapping *;
|
||||
}
|
||||
-keepclassmembers class * {
|
||||
private static synthetic java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
|
||||
}
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers class * {
|
||||
@lombok.Getter *;
|
||||
@lombok.Setter *;
|
||||
}
|
||||
# MyBatis 专用保留规则
|
||||
-keep interface com.renkang.**.mapper.** { *; }
|
||||
-keepclassmembers class com.renkang.**.entity.** { *; }
|
||||
|
||||
-keep class com.renkang.**.entity.** { *; }
|
||||
-keep class com.renkang.**.bean.** { *; }
|
||||
-keep class com.renkang.**.model.** { *; }
|
||||
-keep class com.renkang.**.vo.** { *; }
|
||||
|
||||
# 关闭优化和压缩(避免框架兼容性问题)
|
||||
-dontshrink # 不删除未使用代码
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ import com.renkang.consultation.api.storge.redis.ConHealthInfoRedisTunnel;
|
||||
import com.renkang.consultation.entity.ConHealthInfo;
|
||||
import com.renkang.consultation.mapper.ConHealthInfoMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ComposeConHealthInfo {
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ import com.renkang.consultation.entity.ConKnowledge;
|
||||
import com.renkang.consultation.mapper.ConKnowledgeMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ComposeConKnowledge {
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ import com.renkang.consultation.api.storge.db.ConKnowledgeCategoryDbTunnel;
|
||||
import com.renkang.consultation.api.storge.redis.ConKnowledgeCategoryRedisTunnel;
|
||||
import com.renkang.consultation.entity.ConKnowledgeCategory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ComposeConKnowledgeCategory {
|
||||
|
||||
@Autowired
|
||||
|
||||
+2
-2
@@ -5,11 +5,11 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.renkang.consultation.entity.ConKnowledgeCategory;
|
||||
import com.renkang.consultation.mapper.ConKnowledgeCategoryMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ConKnowledgeCategoryDbTunnel {
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ import com.renkang.consultation.entity.ConDoctorFollow;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.data.redis.core.ZSetOperations;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ConDoctorFollowReidsTunnel {
|
||||
|
||||
@Autowired
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ import com.renkang.consultation.api.RedisConstants;
|
||||
import com.renkang.consultation.entity.ConHealthInfo;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ConHealthInfoRedisTunnel {
|
||||
|
||||
@Autowired
|
||||
|
||||
+2
-2
@@ -5,9 +5,9 @@ import com.renkang.consultation.entity.ConHospitalFollow;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.data.redis.core.ZSetOperations;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ConHospitalFollowReidsTunnel {
|
||||
|
||||
@Autowired
|
||||
|
||||
+2
-2
@@ -4,11 +4,11 @@ import com.renkang.consultation.api.RedisConstants;
|
||||
import com.renkang.consultation.entity.ConKnowledgeCategory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@Component
|
||||
public class ConKnowledgeCategoryRedisTunnel {
|
||||
|
||||
|
||||
|
||||
@@ -1,32 +1,30 @@
|
||||
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod, Exceptions
|
||||
-keep @org.springframework.stereotype.Service class *
|
||||
-keep @org.springframework.web.bind.annotation.RestController class *
|
||||
-keep @org.springframework.context.annotation.Configuration class *
|
||||
-keep @org.springframework.context.annotation.Configuration class * { *; }
|
||||
-keep @org.springframework.stereotype.Component class *
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers enum * { # 保留枚举结构
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { # 保留序列化类
|
||||
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||
private void writeObject(java.io.ObjectOutputStream);
|
||||
private void readObject(java.io.ObjectInputStream);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { *; }
|
||||
-keepclassmembers class * {
|
||||
@org.springframework.web.bind.annotation.*Mapping *;
|
||||
}
|
||||
-keepclassmembers class * {
|
||||
private static synthetic java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
|
||||
}
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers class * {
|
||||
@lombok.Getter *;
|
||||
@lombok.Setter *;
|
||||
}
|
||||
# MyBatis 专用保留规则
|
||||
-keep interface com.renkang.**.mapper.** { *; }
|
||||
-keepclassmembers class com.renkang.**.entity.** { *; }
|
||||
|
||||
-keep class com.renkang.**.entity.** { *; }
|
||||
-keep class com.renkang.**.bean.** { *; }
|
||||
-keep class com.renkang.**.model.** { *; }
|
||||
-keep class com.renkang.**.vo.** { *; }
|
||||
|
||||
# 关闭优化和压缩(避免框架兼容性问题)
|
||||
-dontshrink # 不删除未使用代码
|
||||
|
||||
@@ -1,32 +1,30 @@
|
||||
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod, Exceptions
|
||||
-keep @org.springframework.stereotype.Service class *
|
||||
-keep @org.springframework.web.bind.annotation.RestController class *
|
||||
-keep @org.springframework.context.annotation.Configuration class *
|
||||
-keep @org.springframework.context.annotation.Configuration class * { *; }
|
||||
-keep @org.springframework.stereotype.Component class *
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers enum * { # 保留枚举结构
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { # 保留序列化类
|
||||
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||
private void writeObject(java.io.ObjectOutputStream);
|
||||
private void readObject(java.io.ObjectInputStream);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { *; }
|
||||
-keepclassmembers class * {
|
||||
@org.springframework.web.bind.annotation.*Mapping *;
|
||||
}
|
||||
-keepclassmembers class * {
|
||||
private static synthetic java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
|
||||
}
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers class * {
|
||||
@lombok.Getter *;
|
||||
@lombok.Setter *;
|
||||
}
|
||||
# MyBatis 专用保留规则
|
||||
-keep interface com.renkang.**.mapper.** { *; }
|
||||
-keepclassmembers class com.renkang.**.entity.** { *; }
|
||||
|
||||
-keep class com.renkang.**.entity.** { *; }
|
||||
-keep class com.renkang.**.bean.** { *; }
|
||||
-keep class com.renkang.**.model.** { *; }
|
||||
-keep class com.renkang.**.vo.** { *; }
|
||||
|
||||
# 关闭优化和压缩(避免框架兼容性问题)
|
||||
-dontshrink # 不删除未使用代码
|
||||
|
||||
@@ -1,32 +1,31 @@
|
||||
-keepattributes *Annotation*, Signature, InnerClasses, EnclosingMethod, Exceptions
|
||||
-keep @org.springframework.stereotype.Service class *
|
||||
-keep @org.springframework.web.bind.annotation.RestController class *
|
||||
-keep @org.springframework.context.annotation.Configuration class *
|
||||
-keep @org.springframework.context.annotation.Configuration class * { *; }
|
||||
-keep @org.springframework.stereotype.Component class *
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers enum * { # 保留枚举结构
|
||||
public static **[] values();
|
||||
public static ** valueOf(java.lang.String);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { # 保留序列化类
|
||||
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||
private void writeObject(java.io.ObjectOutputStream);
|
||||
private void readObject(java.io.ObjectInputStream);
|
||||
}
|
||||
-keepclassmembers class * implements java.io.Serializable { *; }
|
||||
-keepclassmembers class * {
|
||||
@org.springframework.web.bind.annotation.*Mapping *;
|
||||
}
|
||||
-keepclassmembers class * {
|
||||
private static synthetic java.lang.Object $deserializeLambda$(java.lang.invoke.SerializedLambda);
|
||||
}
|
||||
-keep class lombok.** { *; }
|
||||
-keepclassmembers class * {
|
||||
@lombok.Getter *;
|
||||
@lombok.Setter *;
|
||||
}
|
||||
# MyBatis 专用保留规则
|
||||
-keep interface com.renkang.**.mapper.** { *; }
|
||||
-keepclassmembers class com.renkang.**.entity.** { *; }
|
||||
|
||||
-keep class com.renkang.**.mapper.provider** { *; }
|
||||
-keep class com.renkang.**.entity.** { *; }
|
||||
-keep class com.renkang.**.bean.** { *; }
|
||||
-keep class com.renkang.**.model.** { *; }
|
||||
-keep class com.renkang.**.vo.** { *; }
|
||||
|
||||
# 关闭优化和压缩(避免框架兼容性问题)
|
||||
-dontshrink # 不删除未使用代码
|
||||
|
||||
Reference in New Issue
Block a user