package com.zjrs.zwnw.rlzysc.bpo;

import org.mohrss.leaf.core.framework.web.controller.AjaxResponse;
import com.zjrs.zwnw.rlzysc.dto.XxglDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@Service
@FeignClient("ZJRS-GGFW-SERVICE")
public interface UserFeignClientBPO {

    @PostMapping("/api/portal/user/saveNews")
    public AjaxResponse saveNews(@RequestBody XxglDTO dto);

}
