[6.7.2]
[fea] [businessType 动态获取]
This commit is contained in:
@@ -2,6 +2,7 @@ package com.mogo.och.weaknet.bean.request
|
||||
|
||||
import com.mogo.commons.storage.SharedPrefsMgr
|
||||
import com.mogo.eagle.core.network.utils.digest.DigestUtils
|
||||
import com.mogo.och.common.module.biz.login.LoginStatusManager
|
||||
import com.mogo.och.weaknet.repository.db.bean.EventDataBean
|
||||
|
||||
/**
|
||||
@@ -9,7 +10,7 @@ import com.mogo.och.weaknet.repository.db.bean.EventDataBean
|
||||
*/
|
||||
data class ShuttleEventRequest(val requestId: String, val sn: String, val businessType: Int,val eventList:MutableList<Event>){
|
||||
companion object{
|
||||
val businessTypeShuttle = 11
|
||||
val businessTypeShuttle = LoginStatusManager.getLoginInfo()?.businessType?:11
|
||||
fun transformDb2Net(waitUpdateEvent: List<EventDataBean>): ShuttleEventRequest {
|
||||
val md5Hex = DigestUtils.md5Hex(waitUpdateEvent.toString())
|
||||
val eventList4Request = mutableListOf<Event>()
|
||||
|
||||
Reference in New Issue
Block a user