| | |
| | | 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 |
| | |
| | | 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)) |
| | | } |
| | | } |