Near-threshold photoproduction of $$J/\psi $$ in two-gluon exchange model