package com.persagy.dmp.auth.client;

import com.persagy.dmp.auth.domain.Group;
import com.persagy.dmp.auth.domain.ResultReturn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 运维系统Client接口
 * @author : lijie
 * Update By 2022/1/11 15:33
 */
@FeignClient(name = "EMS-SAAS-WEB",fallbackFactory = EmsSaasWebFallbackFactory.class,url = "${saas.ems.web.service:}")
public interface EmsSaasWebClient {

	/***
	 * Description: 查询集团项目列表
	 * @param param : 请求参数
	 * @return : java.util.List<com.alibaba.fastjson.JSONObject>
	 * @author : lijie
	 * @date :2021/11/8 14:12
	 * Update By lijie 2021/11/8 14:12
	 */
	@PostMapping(value = "/rwd/groupAndSchema/admin/queryGroupProjectList")
	ResultReturn<Group> queryGroupProjectList(@RequestBody Object param);
	
}
