The present invention relates to the application of aporphi compounds in the preparation of serotonin 2c receptor agonists. Apor phen compounds include compounds represented by general formula M, their isomers and pharmaceutically acceptable salts or Hydrate: where, R 1 , R 2 , R 3 independently selected from hydrogen, C 1 -C 8 Alkyl, C 2 -C 10 Alkynyl, C 2 -C 10 alkenyl, halogen, C 1 -C 8 Haloalkyl, cyano, nitro, aryl, hydroxyl, carboxyl, C 1 -C 8 alkoxy, alkoxyacyl, oxime, amino, amido, acyloxy, acyl, sulfonyl, sulfonylamino, urea, thiourea, or carbamoyl, and R 1 is a group other than hydroxyl; and R 1 When it is methoxy, R 2 , R 3 Cannot be hydroxyl and hydrogen respectively.