The turning tool is arranged on the processing platform and between the processing spindle and the positioning structure.After the friction welding is completed, the temperature at the joint of the shaft is relatively high. The turning tool is used to directly remove the welding residual material to avoid the impact on the accuracy of the shaft due to the heat change during the cooling process, and the turning is performed when the temperature is high. Due to the lower hardness of the shaft machining part, the wear of the turning tool is reduced.