riku
2025-07-02 3013b813e5df6977c0be921928f73b1a3adde290
app/src/main/java/cn/flightfeather/thirdappmodule/repository/UserInfoRepository.kt
@@ -5,6 +5,7 @@
import cn.flightfeather.thirdappmodule.common.net.ResultCallBack
import cn.flightfeather.thirdappmodule.common.net.RetrofitFactory
import cn.flightfeather.thirdappmodule.httpservice.UserInfoService
import cn.flightfeather.thirdappmodule.model.bean.UserMap
/**
 * @author riku
@@ -41,4 +42,13 @@
        retrofit.create(UserInfoService::class.java).getUserByTypeId(userTypeId.toByte())
            .enqueue(ResponseBodyCallBack(resultCallBack))
    }
    /**
     * 根据飞羽监管的场景id,获取飞羽环境系统中对应的用户id
     */
    fun getTZId(sceneId: String, resultCallBack: ResultCallBack<UserMap>) {
        retrofit.create(UserInfoService::class.java).getTZId(sceneId)
                .enqueue(ResponseBodyCallBack(resultCallBack))
    }
}