删除无用代码
This commit is contained in:
parent
87f43e84f1
commit
c248683078
@ -163,12 +163,6 @@ class CardParser {
|
||||
return bizBody;
|
||||
}
|
||||
|
||||
private boolean isPerformActionAvailable(ParsedButtonV3 button) {
|
||||
if (cardProps.getPerformActionSystemButtonCodes().contains(button.getCode()))
|
||||
return true;
|
||||
return button.isPerformActionAvailable();
|
||||
}
|
||||
|
||||
private static List<AppLink> getNativeAppLinks(UrlConfig urlConfig) {
|
||||
if (urlConfig == null) return Collections.emptyList();
|
||||
NativeAppLinkUrlConfigVisitor visitor = new NativeAppLinkUrlConfigVisitor();
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
package cn.axzo.msg.center.message.service.card;
|
||||
|
||||
import com.google.common.collect.Sets;
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
||||
@ -24,7 +23,6 @@ public class CardProps {
|
||||
private boolean enableCardIdempotent = true;
|
||||
private int updateCardBatchSize = 200;
|
||||
private Set<String> idempotentFreeTemplateCodes = new HashSet<>();
|
||||
private Set<String> performActionSystemButtonCodes = Sets.newHashSet("");
|
||||
|
||||
boolean isIdempotentFree(String templateCode) {
|
||||
return getIdempotentFreeTemplateCodes().contains(templateCode);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user