package com.fdkankan.ucenter.httpClient.client;

import com.dtflys.forest.annotation.*;
import com.fdkankan.ucenter.common.ResultData;
import com.fdkankan.ucenter.httpClient.address.FdkkTakeLookAddressSource;
import com.fdkankan.ucenter.httpClient.param.FdRoomAddParam;
import com.fdkankan.ucenter.httpClient.param.FdRoomVo;

@Address(source = FdkkTakeLookAddressSource.class)
public interface TakeLookClient {

    /**
     * 获取相机详情
     */
    @Post("/roomAddOrUpdate")
    ResultData<FdRoomVo> roomAddOrUpdate(@JSONBody FdRoomAddParam param, @Header("token")  String token);

    @Get("/openTheRoom")
    void openRoom(@Query("roomId") String takeRoomId, @Header("token") String fdToken);

    @Get("/getRoomIdByNum")
    ResultData<FdRoomVo> getRoomIdByNum(@Query("num") String num, @Header("token") String fdToken);
}
