Commit by xincheng qr code and error handle