package cn.axzo.msg.center.api;

import cn.axzo.msg.center.api.request.GeneralMessagePushReq;
import cn.axzo.msg.center.api.response.ReachResp;
import cn.azxo.framework.common.model.CommonResponse;
import javax.validation.Valid;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author syl
 * @date 2023/12/28
 */
public interface GeneralMessageApi {

    /**
     * 业务触达
     * 消息、待办等
     */
    @RequestMapping(value = "api/message/reach", method = RequestMethod.POST)
    CommonResponse<ReachResp> reachGeneralMsg(@RequestBody @Valid GeneralMessagePushReq param);
}
