Skip to content

Commit e097186

Browse files
author
bulezeng(曾卫进)
committed
1 删除 无效的ActionType
1 parent 786c4c4 commit e097186

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/main/java/com/tencent/xinge/bean/ActionType.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
public enum ActionType {
66

7-
OPEN_APP(0, "默认打开app"),
87
OPEN_ACTIVITY_BY_CLASS_NAME(1, "显式通过类名打开activity或app本身"),
98
OPEN_WEB(2, "打开浏览器"),
109
OPEN_INTENT(3, "打开Intent"),

src/main/java/com/tencent/xinge/bean/ClickAction.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
@JsonInclude(JsonInclude.Include.NON_NULL)
99
public class ClickAction {
1010

11-
public static final int TYPE_ACTIVITY = 1;
12-
public static final int TYPE_URL = 2;
13-
public static final int TYPE_INTENT = 3;
14-
1511
@JsonProperty(value = "action_type", required = true, defaultValue = "1")
1612
@ApiModelProperty(notes = "动作类型,1,打开activity或app本身;2,打开浏览器;3,打开Intent")
1713
private int action_type = ActionType.OPEN_ACTIVITY_BY_CLASS_NAME.getType();

0 commit comments

Comments
 (0)