package com.xxfc.platform.app.feign;

import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.xxfc.platform.app.entity.Cofig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by ace on 2017/9/15.
 */
//@FeignClient(value = "${auth.serviceId}",configuration = {})
@FeignClient("xx-app")
public interface ConfigFeign {
    @RequestMapping(value = "/cofig/app/unauth/types",method = RequestMethod.GET)
    public ObjectRestResponse<Cofig> getAllByType(String types);

}
