|
@@ -28,7 +28,7 @@ import (
|
|
|
// @Param section_id query int false "板块id"
|
|
|
// @Success 200 {object} []voiceResp.BroadcastListResp
|
|
|
// @failure 400 {string} string "获取失败"
|
|
|
-// @Router /list [get]
|
|
|
+// @Router /list [Post]
|
|
|
func BroadcastList(c *gin.Context) {
|
|
|
var req request.BroadcastListReq
|
|
|
if err := c.Bind(&req); err != nil {
|
|
@@ -247,10 +247,10 @@ func DelBroadcast(c *gin.Context) {
|
|
|
}
|
|
|
|
|
|
// AddStatistics
|
|
|
-// @Description 新建语音播报
|
|
|
+// @Description 新增语音播报记录
|
|
|
// @Param file query string true "音频文件"
|
|
|
-// @Success 200 {string} string "发布成功"
|
|
|
-// @failure 400 {string} string "发布失败"
|
|
|
+// @Success 200 {string} string "新增成功"
|
|
|
+// @failure 400 {string} string "新增失败"
|
|
|
// @Router /statistics/add [post]
|
|
|
func AddStatistics(c *gin.Context) {
|
|
|
broadcastName := c.PostForm("broadcast_name")
|