[2.13.0] fix bug of sn token invoke

This commit is contained in:
zhongchao
2022-11-30 12:59:28 +08:00
parent ada76d3136
commit 621c8f36d2
6 changed files with 20 additions and 14 deletions

View File

@@ -53,10 +53,10 @@ object CallerCloudListenerManager {
/**
* 分发获取到的设备sn
*/
fun invokeCloudTokenGot(sn: String) {
fun invokeCloudTokenGot(token: String, sn: String) {
M_CLOUD_LISTENER.forEach {
val listener = it.value
listener.tokenGot(sn)
listener.tokenGot(token, sn)
}
}
}