package com.sptg.permissions.api.feigns;

import com.sptg.permissions.api.entity.ApiDockingConf;
import com.sptg.permissions.api.feigns.fallback.WeiXinConfFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * title: ApiDockingConfFeign
 * package: com.sptg.permissions.api.feigns
 * description:API接口配置参数对外服务接口
 *
 *               
 *                 
 */
@FeignClient(value = "smart-house-permissions",fallbackFactory = WeiXinConfFeignFallbackFactory.class)
public interface ApiDockingConfFeign {

    /**
     * 功能描述: 根据id查询微信配置参数
     * @param  orgId
     * @return ApiDockingConf
     *               
     *                       
     */
    @PostMapping(value = "/api/selectEntityById")
    ApiDockingConf selectEntityById(@RequestBody Long orgId);

}
