package com.rongwei.bscommon.sys.fegin;

import com.rongwei.rwcommon.base.R;
import com.rongwei.rwcommon.vo.CriteriaQuery;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "rw-admin",fallback = AdminFeginClientImpl.class)
public interface AdminFeginClient {

    @PostMapping("/sys/generalCRUD/getListData")
    R getListData(@RequestBody CriteriaQuery query);

}
