package com.yeejoin.amos.boot.module.tdc.api.feign;


import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

import java.util.List;

@FeignClient(value = "AMOS-API-RULE", path = "urule")
public interface UruleFeignService {

    @RequestMapping(value = "/v1/packageeditor/loadPackages", method = RequestMethod.GET)
    ResponseModel<List> getRule(@RequestParam("project") String project);


}
