sweep the two-dimensional code