In view of the current poor nature of online ideological and political teaching and the deficient impact of the executive teaching resource recommendation, this paper advances the examination on the versatile recommendation technique for online ideological and political teaching resources under the school enterprise cooperation mode, gathers and deals with the ideological and political teaching data in view of the teaching qualities of the school enterprise cooperation mode, and develops the assessment calculation of teaching data the board. At last, through tests, it is affirmed that the versatile recommendation technique for online ideological and political teaching resources under the school enterprise cooperation mode has high practicability and fully meets the research requirements.