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() current.UpdateSeek()
ctx.JSON(http.StatusOK, model.NewApiDataResp(gin.H{ ctx.JSON(http.StatusOK, model.NewApiDataResp(genCurrentResp(current)))
"current": genCurrentResp(current),
}))
} }
func Movies(ctx *gin.Context) { func Movies(ctx *gin.Context) {

Loading…
Cancel
Save