[shuttle-B1/B2] 弱网增加登陆状态缓存

This commit is contained in:
wangmingjun
2023-03-31 16:55:05 +08:00
parent 8051629a30
commit 65a83154c7
14 changed files with 202 additions and 95 deletions

View File

@@ -72,6 +72,20 @@ public class BusRoutesResult {
this.writeVersion = writeVersion;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
BusRoutesResult that = (BusRoutesResult) o;
return lineId == that.lineId
&& lineType == that.lineType
&& status == that.status
&& sites.equals(that.sites)
&& name.equals(that.name)
&& writeVersion == that.writeVersion
&& runningDur.equals(that.runningDur);
}
@Override
public String toString() {
return "BusRoutesResult{" +

View File

@@ -0,0 +1,9 @@
package com.mogo.och.data.bean
/**
* @author: wangmingjun
* @date: 2023/3/31
*/
data class BusTransferData (
var loginStatus: Int,
var routesResult: BusRoutesResult,
)