Study on electrochemical reduction mechanism of p-nitrophenylacetic acid prepared by electrocarboxylation