package edu.travel.remote; import com.baomidou.mybatisplus.core.metadata.IPage; import edu.travel.dto.BaseCountryServeDto; import edu.travel.remote.base.RemoteBaseController; import edu.travel.rpc.RPCBaseResponse; import edu.travel.vo.BaseCountryServeVo; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestBody; import java.util.List; @FeignClient(path = "/baseCountryServe",name = "commodity") public interface BaseCountryServeRemoteController extends RemoteBaseController { //分页 @GetMapping("/getCountryServePage") public RPCBaseResponse> getCountryServePage(BaseCountryServeDto dto); //服务国家树 @GetMapping("/getCountryServeTree") public RPCBaseResponse> getCountryServeTree(); //获取服务国家信息 @GetMapping("/getCountryServeFormId") public RPCBaseResponse getFormId(String id); //更新服务国家信息 @GetMapping("/updateCountryServeFormId") public RPCBaseResponse updateTargetFormId(@RequestBody BaseCountryServeDto entity); //新增服务国家信息 @GetMapping("/saveCountryServeForm") public RPCBaseResponse saveFormTarget(@RequestBody BaseCountryServeDto entity); //删除服务国家信息 @GetMapping("/deleteCountryServeFormId") public RPCBaseResponse deleteTargetFormId(@RequestBody List ids); //获取服务国家列表 @GetMapping("/listForm") public RPCBaseResponse> getAllForm(); }