“…As the lightest-metal structural materials in practical applications, magnesium alloys have the advantages of a high specific stiffness and specific strength; they have been increasingly used in aerospace, military equipment, automobile manufacturing, and other fields [1,2,3,4]. During actual use, various local damage such as scratches, corrosion, wear, and tear on the surface of magnesium alloy structural parts or components are inevitable.…”