package com.njcn.user.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.user.api.fallback.AppInfoSetFeignClientFallbackFactory;
import com.njcn.user.pojo.po.app.AppInfoSet;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author xuyang
 * @version 1.0.0
 * @date 2023年09月12日 19:11
 */
@FeignClient(value = ServerInfo.USER,path = "/appInfoSet",fallbackFactory = AppInfoSetFeignClientFallbackFactory.class,contextId = "appInfoSet")
public interface AppInfoSetFeignClient {

    @PostMapping("/getListById")
    HttpResult<List<AppInfoSet>> getListById(@RequestBody List<String> list);

}
