package com.tzld.piaoquan.recommend.server.feign;

import com.tzld.piaoquan.recommend.server.feign.model.CommonResponse;
import com.tzld.piaoquan.recommend.server.feign.model.VideoCharacteristicInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "growth-manager", url = "http://tp-open.piaoquantv.com")
public interface GrowthManagerFeign {

    @GetMapping("/cgi/reply/getVideoCharacteristic")
    CommonResponse<VideoCharacteristicInfo> getVideoCharacteristic(@RequestParam("rootSourceId") String rootSourceId);

}
