You mean that your company has two registered trademarks, and this store used one trademark in its store recruitment, but the goods it sells are goods of another trademark. Is it illegal?
In the relevant provisions of the Trademark Law, if the industrial and commercial department investigates the store, and if the store has your trademark authorization document, then whatever the store sells does not constitute infringement.
I hope this helps.