The present invention includes a swinging switching structure of outlet device fixed below a shower body, a water-dividing body sealed and fixed above an outlet device; said water-dividing body having at least two water-dividing bores so as to connect to the water cavities with different function of said outlet device having a movable switching device in the shower, and by the co-operation of shower and water-supply pipe-joint, when flapped, the shower will swing and inclined, then the movable switching device will control the water to spray out through different bores of water-diving body, thus achieving the switching of function. This water switching function of the shower is more efficient and flexible.