reqVersionIsGameNew 字段逻辑去除
This commit is contained in:
parent
7cd5213d5f
commit
006379284f
@ -100,20 +100,18 @@ public class AppExtCommand extends AppCommand {
|
||||
public Date reqTimeElseNow() {
|
||||
return Objects.isNull(getReqTime()) ? DateUtils.now() : getReqTime();
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取请求为null,等于当前时间.
|
||||
*/
|
||||
public boolean reqVersionIsGameNew() {
|
||||
if (Integer.parseInt(getReqAppIntel().getVersion().replace(".", "")) >= 190) {
|
||||
return Objects.isNull(roomSessionId);
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
public boolean reqVersionIs191() {
|
||||
return Integer.parseInt(getReqAppIntel().getVersion().replace(".", "")) >= 191;
|
||||
|
||||
} public boolean reqVersionIs191() {
|
||||
return Integer.parseInt(getReqAppIntel().getVersion().replace(".", "")) >= 191;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user