fix: Update logic with domain to simplify code
fix: Update logic with domain to simplify code

Signed-off-by: 00LT00 <71f4977891207e277baf83cc871156a93c7214f3@zerokirin.online>

hsluoyz/casbin,casbin/casbin