In this paper, we study the R2 corrections to the spectral functions of
heavy mesons in Gauss-Bonnet gravity. We discuss the effect of Gauss-Bonnet
parameter λGB​ on the 1S states and 2S states of charmonium and
bottomonium. It is found that λGB​ reduces the height and increases
the width of the 1S states peak. The 2S states of charmonium and bottomonium
dissociate gradually as increasing λGB​. It is obvious that
λGB​ enhances the dissociation of charmonium and bottomonium.Comment: 13 pages, 4 figure