package com.njzscloud.supervisory.voicebox.service;

import com.njzscloud.common.http.annotation.PostEndpoint;
import com.njzscloud.common.http.annotation.RemoteServer;
import com.njzscloud.supervisory.voicebox.pojo.param.NotifyParam;
import com.njzscloud.supervisory.voicebox.pojo.result.NotifyResult;
import org.springframework.web.bind.annotation.RequestBody;

@RemoteServer(value = "${cloud-voicebox.base-url}")
public interface VoiceboxApi {
    @PostEndpoint("/notify.php")
    NotifyResult notify(@RequestBody NotifyParam notifyParam);
}
