package com.xxfc.platform.app.feign;

import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.xxfc.platform.app.entity.Cofig;
import com.xxfc.platform.app.entity.vo.WithDrawRuleVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
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("xx-app")
public interface ConfigFeign {
    @RequestMapping(value = "/cofig/app/unauth/types",method = RequestMethod.GET)
    ObjectRestResponse<Cofig> getAllByType(String types);

     @GetMapping("/cofig/app/unauth/withdraw_rule")
     WithDrawRuleVo getWithDrawRule();
}
