Change the register mechanism and change the openapi code corresponding