The utility model discloses a door body opening and closing subassembly and cooking device of cooking device, including the door body, be provided with first locking portion on the door body,
locking mechanism includes the mounting support, drive part, locking piece and the unlocking piece, and the mounting support sets up first end face and second end face, and first end face is provided with locking position, locking piece and the unlocking piece, locking piece can move close to or away from locking position, the unlocking piece is provided with linkage end and unlocking end, drive part includes
drive motor, transmission part and guide piece, and transmission part is installed in second end face, and one end of transmission part is connected in the rotating shaft of
drive motor, and the other end of transmission part is connected with the bottom end of guide piece, and the top of transmission part passes through first end face and is connected with linkage end, and guide piece and mounting support slide fit. A kind of cooking device, including cooking
machine body and door body opening and closing subassembly. The utility model's locking piece, unlocking piece and transmission part
assembly to the different end face of mounting support, reduce unlocking
transmission time.