Browse Source

发布返回ID

hsun 2 năm trước cách đây
mục cha
commit
875a57f90b

+ 1 - 1
controller/voice_broadcast/voice_broadcast.go

@@ -167,7 +167,7 @@ func AddBroadcast(c *gin.Context) {
 	if err != nil {
 	if err != nil {
 		fmt.Println("AddUserViewHistory err", err.Error())
 		fmt.Println("AddUserViewHistory err", err.Error())
 	}
 	}
-	response.Ok("发布成功", c)
+	response.OkData("发布成功", voiceBroadcast.BroadcastId, c)
 }
 }
 
 
 // SectionList
 // SectionList