Pseudo-static processing of htaccess

I now have three such links:
goods.html
goods.html?id=123
goods.html?id=123&cat=123

the existing pseudo-static rules:
RewriteRule ^ (). Html (. ) $index\ .php\? mod=$1

that is, goods.html = index.php?mod=goods

how do I write rules so that
goods.html?id=123 = index.php?mod=goods&id=123

goods.html needs to be followed by as many parameters as you want, and the parameters that follow html do not need to be processed statically.

Mar.01,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35f7f-2bfcd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35f7f-2bfcd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?