Despite the victory, Wilson did not answer questions after the game.
"I didn't do anything," Wilson said as he walked past reporters on his way out of the clubhouse.
Wilson, who pitched for San Francisco from 2006-12, faced former teammates Marco Scutaro, Brandon Belt, Hunter Pence and Buster Posey.
"It was fun," said Posey, who was Wilson's batterymate with the Giants. "You look forward to challenges against good pitchers and he's one of them. Once the at-bat started, it felt like a normal at-bat."
Signed by the Dodgers at the end of July as a free agent, Wilson is 2-1 with a 1.17 ERA in 11 appearances. He had Tommy John surgery for the second time in his career last April and was non-tendered by the Giants last winter.
Austin Laymance is an associate reporter for MLB.com. Ken Gurnick is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.