A wiring device , comprising a second wiring terminal and a mounting structure , the second wiring terminal configured to be mounted to a first base through the mounting structure , wherein the mounting structure comprises a mounting body , a fixing buckle and a positioning member ; the mounting body is connected to the second wiring terminal , and one end of the fixing buckle and one end of the positioning member are configured to be connected to the first base; the fixing buckle passes through the mounting body and is buckled to the mounting body , and the positioning member passes through the mounting body ; wherein the fixing buckle comprises a plurality of hooks , and one end of each of the hooks is provided with a third stop surface ; the third stop surface facing towards the other side of the hook, and the plurality of hooks pass through the mounting body , such that the third stop surface abuts against a side surface of the mounting body ; and ends of the plurality of hooks away from the third stop surface are configured to be connected to the first base; wherein each hook comprises an elastic connecting portion and an abut portion , and one end of the elastic connecting portion is configured to be connected to the first base; the abut portion is connected to the other end of the elastic connecting portion , and the third stop surface is disposed at one side of the abut portion close to the elastic connecting portion ; one side of the abut portion away from the elastic connecting portion is an inclined plane; wherein the mounting structure further comprises a plurality of elastic members , each elastic member is wound around each elastic connecting portion , and each elastic member abuts between the first base and the mounting body ; wherein each elastic member is a spring and is used for stably and effectively providing an effect of correcting a mounting tolerance for the mounting body . wherein the fixing buckle comprises a plurality of hooks , and one end of each of the hooks is provided with a third stop surface ; the third stop surface facing towards the other side of the hook, and the plurality of hooks pass through the mounting body , such that the third stop surface abuts against a side surface of the mounting body ; and ends of the plurality of hooks away from the third stop surface are configured to be connected to the first base; wherein each hook comprises an elastic connecting portion and an abut portion , and one end of the elastic connecting portion is configured to be connected to the first base; the abut portion is connected to the other end of the elastic connecting portion , and the third stop surface is disposed at one side of the abut portion close to the elastic connecting portion ; one side of the abut portion away from the elastic connecting portion is an inclined plane; wherein the mounting structure further comprises a plurality of elastic members , each elastic member is wound around each elastic connecting portion , and each elastic member abuts between the first base and the mounting body ; wherein each elastic member is a spring and is used for stably and effectively providing an effect of correcting a mounting tolerance for the mounting body . <EOS>