Cavitation happening inside an inclined V-shaped corner is a common and important phenomenon in practical engineering. In the present study, the lattice Boltzmann models coupling velocity and temperature fields are adopted to investigate this complex collapse process. Based on a series of simulations, the fields of density, pressure, velocity and temperature are obtained simultaneously. Overall, the simulation results agree with the experiments, and they prove that the coupled lattice Boltzmann models are effective to study cavitation bubble collapse. It was found that the maximum temperature of bubble collapse increases approximately linearly with the rise of the distance between the single bubble center and the corner. Meanwhile, the velocity of the micro-jet increases and the pressure peak at the corner decreases correspondingly. Moreover, the effect of angle of the V-shaped wall on the collapse process of bubbles is similar to the effect of distance between the single bubble center and the corner. Moreover, with the increase in bubble radius, the maximum temperature of bubble collapse increases proportionally, the starting and ending of the micro-jet are delayed and the pressure peak at the corner becomes larger and also is delayed. In the double bubble collapse, the effect of distance between two bubble centers on the collapse process of bubbles is discussed in detail. Based on the present study, appropriate measures can be proposed to prevent or utilize cavitation in practical engineering.