The present invention relates to aryl-substituted amide compounds of formula (I) and their preparation methods, pharmaceutical compositions containing them and their application in pharmacy, wherein Ar1, L1, M1, M2, L2 and Ar2 are as described herein definition. The aryl-substituted amide compound of the present invention can stimulate TRPV1, stimulate nuclear receptors (LXRs, PPARs, RXR), regulate the expression of cholesterol efflux-related protein ABCA1 / G1, SR-BI, regulate inflammation-related protein TNF-α, etc. , so as to play the role of promoting cholesterol and lipid efflux, lowering blood sugar, regulating blood lipids, anti-inflammation, lowering blood pressure, etc., and is used to treat and / or prevent and / or alleviate cardiovascular and cerebrovascular diseases, regulate blood lipids, and resist atherosclerosis Sclerosis, diabetes, anti-inflammatory, pain and anti-hypertensive diseases.