You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.supervision.service;
|
|
|
|
|
|
|
|
import com.supervision.pojo.vo.TalkReqVO;
|
|
|
|
import com.supervision.pojo.vo.TalkResultResVO;
|
|
|
|
import com.supervision.pojo.vo.TalkVideoReqVO;
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import java.io.IOException;
|
|
|
|
import java.io.OutputStream;
|
|
|
|
|
|
|
|
public interface AskService {
|
|
|
|
|
|
|
|
String receiveVoiceFile(MultipartFile file);
|
|
|
|
|
|
|
|
TalkResultResVO talk(TalkReqVO talkReqVO) throws IOException;
|
|
|
|
|
|
|
|
TalkResultResVO talkByVideo(TalkVideoReqVO talkReqVO, HttpServletResponse response) throws IOException;
|
|
|
|
|
|
|
|
|
|
|
|
}
|