A motor, comprising: a motor housing and a stator core mounted in the motor housing, the stator core having a cylindrical shape providing an axial direction and a circumferential direction, wherein the stator core is configured to be sleeved on an outer periphery of a rotor with an airgap between the stator core and the rotor, wherein the motor housing is provided with two first distribution grooves (12b1) and two second distribution grooves (12b2), a liquid inlet channel, and a liquid outlet channel, the distribution grooves (12b1, 12b2) are provided on an inner wall of the motor housing, the liquid inlet channel is in communication with one first distribution groove (12b1) and an outer space of the motor housing, and the liquid outlet channel is in communication with inner and outer spaces of the motor housing; and an outer wall of the stator core is provided with three stator grooves, and opposite ends of the stator grooves in the extension direction are both closed; in the axial direction of the stator core, the two first distribution grooves (12b1) are both located between the two second distribution grooves (12b2), and the two second distribution grooves (12b2) are spaced apart; in the circumferential direction of the stator core, each first distribution groove (12b1) is spaced from the two second distribution grooves (12b2); the three stator grooves are sequentially spaced apart along the circumferential direction, and an extension direction of at least a part of each stator groove intersects an extension direction of at least a part of at least one of the distribution grooves (12b1, 12b2); and the first distribution groove (12b1) in communication with the liquid inlet channel is in communication with the two second distribution grooves (12b2) through one stator groove, the two second distribution grooves (12b2) are in communication with the other first distribution groove (12b1) through one stator groove, and the other first distribution groove (12b1) is in communication with the liquid outlet channel through one stator groove, to form a coolant channel, so that coolant sequentially flows into the liquid inlet channel, the first distribution groove (12b1), the first stator groove, the two second distribution grooves (12b2), the second stator groove, the other first distribution groove (12b1), the third stator groove, and the liquid outlet channel. a motor housing and a stator core mounted in the motor housing, the stator core having a cylindrical shape providing an axial direction and a circumferential direction, wherein the stator core is configured to be sleeved on an outer periphery of a rotor with an airgap between the stator core and the rotor, wherein the motor housing is provided with two first distribution grooves (12b1) and two second distribution grooves (12b2), a liquid inlet channel, and a liquid outlet channel, the distribution grooves (12b1, 12b2) are provided on an inner wall of the motor housing, the liquid inlet channel is in communication with one first distribution groove (12b1) and an outer space of the motor housing, and the liquid outlet channel is in communication with inner and outer spaces of the motor housing; and an outer wall of the stator core is provided with three stator grooves, and opposite ends of the stator grooves in the extension direction are both closed; in the axial direction of the stator core, the two first distribution grooves (12b1) are both located between the two second distribution grooves (12b2), and the two second distribution grooves (12b2) are spaced apart; in the circumferential direction of the stator core, each first distribution groove (12b1) is spaced from the two second distribution grooves (12b2); the three stator grooves are sequentially spaced apart along the circumferential direction, and an extension direction of at least a part of each stator groove intersects an extension direction of at least a part of at least one of the distribution grooves (12b1, 12b2); and the first distribution groove (12b1) in communication with the liquid inlet channel is in communication with the two second distribution grooves (12b2) through one stator groove, the two second distribution grooves (12b2) are in communication with the other first distribution groove (12b1) through one stator groove, and the other first distribution groove (12b1) is in communication with the liquid outlet channel through one stator groove, to form a coolant channel, so that coolant sequentially flows into the liquid inlet channel, the first distribution groove (12b1), the first stator groove, the two second distribution grooves (12b2), the second stator groove, the other first distribution groove (12b1), the third stator groove, and the liquid outlet channel.