package cn.estsh.i3plus.ext.mes.icloud.sdk;

import cn.estsh.i3plus.ext.mes.icloud.sdkfallback.CoreSysPushMessageFallbackFactory;
import cn.estsh.i3plus.pojo.base.bean.BaseResultBean;
import cn.estsh.i3plus.pojo.model.platform.PushDataNotifyModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @Description : core推送消息微服务调用
 * @Reference :
 * @Author : jiaqi.hou
 * @CreateDate : 2023-08-11 15:25
 * @Modify:
 **/
@FeignClient(
        name = "i3core",
        fallbackFactory = CoreSysPushMessageFallbackFactory.class
)
public interface ICoreSysPushMessageCloud {
    @PostMapping({"/impp/white/push-message"})
    @ApiOperation(
            value = "钉钉推送api接口",
            notes = "钉钉推送api接口"
    )
    BaseResultBean pushMessage(@RequestBody PushDataNotifyModel var1);
}
