Opt: current movie api resp

pull/39/head
zijiren233 1 year ago
parent ada805367f
commit 9f76795503

@ -135,9 +135,7 @@ func CurrentMovie(ctx *gin.Context) {
current.UpdateSeek()
ctx.JSON(http.StatusOK, model.NewApiDataResp(gin.H{
"current": genCurrentResp(current),
}))
ctx.JSON(http.StatusOK, model.NewApiDataResp(genCurrentResp(current)))
}
func Movies(ctx *gin.Context) {

Loading…
Cancel
Save