| | |
| | | import com.fgkj.dto.User_inf; |
| | | import com.fgkj.util.ActionUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | |
| | | @RequestMapping("broadcast") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "broadcast接口") |
| | | public class BroadcastController{ |
| | | private static int createCount = 0; //生成音频文件计数 |
| | | |
| | | @RequestMapping("create") |
| | | @ApiOperation(notes = "",value="生成音频文件") |
| | | public ServiceModel createBroadcast(@RequestBody MyMultiMedia media){ |
| | | MSTTSSpeech speech=new MSTTSSpeech(); |
| | | // MyMultiMedia media = ActionUtil.getGson().fromJson(json, MyMultiMedia.class); |