Based on your shown samples could you please try following. Please clear your browser cache before testing your URLs. These rules will remove any uri present in url and redirect it to base domain url as per your shown samples.
RewriteEngine ON
RewriteCond %{REQUEST_URI} !^/?$
RewriteRule ^ https://%{HTTP_HOST} [R=301,L]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…