define(["emberdata","app","ajax","../base/topic"],function(a,b,c,d){a.attr;return b.GardenTopicBase=a.Model.extend(d,{}),b.GardenTopicBase.reopenClass({getGardenTopic:function(a,b){return c.send({method:"BBC.GardenTopic.GetGardenTopics",data:{ID:a,UserType:b}})},withdrawClassTopic:function(a){return c.send({method:"BBC.GardenTopic.withdrawClassTopic",data:{IDs:a}})},distributeClassTopic:function(a){return c.send({method:"BBC.GardenTopic.distributeClassTopic",data:{IDs:a}})},fillGardenTopicText:function(a,b,d){return c.send({method:"BBC.GardenTopic.FillGardenTopicText",data:{ID:a,Text:b,Aideo:d}})},getgardennewestterm:function(a){return c.send({method:"BBC.GardenStatistical.GetGardenNewestTerm",data:{UserType:a}})},getclasstopiclist:function(a,b,d,e){return c.send({method:"BBC.ClassTopic.GetClassTopicList",data:{Year:a,Month:b,Limit:d,UserType:e}})},getGardenTopicText:function(a){return c.send({method:"BBC.GardenTopic.GetGardenTopicText",data:{ID:a}})},fillGardenTopicMultimage:function(a,b,d,e){return c.send({method:"BBC.GardenTopic.FillGardenTopicMultimage",data:{ID:a,ImageUrl:b,Title:d,Order:e}})},getGardenTopicMultimages:function(a){return c.send({method:"BBC.GardenTopic.GetGardenTopicMultimages",data:{ID:a}})},deleteGardenTopicMultimage:function(a){return c.send({method:"BBC.GardenTopic.DeleteGardenTopicMultimage",data:{ID:a}})},fileTopicMultimageSummary:function(a,b){return c.send({method:"BBC.GardenTopic.FileTopicMultimageSummary",data:{ID:a,Summary:b}})},fillGardenTopicImage:function(a,b,d,e){return c.send({method:"BBC.GardenTopic.FillGardenTopicImage",data:{ID:a,Summary:b,Aideo:d,ImageUrl:e,EnableText:!0}})},getGardenTopicImage:function(a){return c.send({method:"BBC.GardenTopic.GetGardenTopicImage",data:{ID:a}})},deleteGardenTopicImage:function(a){return c.send({method:"BBC.GardenTopic.DeleteGardenTopicImage",data:{ID:a}})},getGardenNewestTerm:function(a,b){return c.send({method:"BBC.GardenStatistical.GetGardenNewestTerm",data:{UserType:a,Grade:b}})},getClassComplateStatistical:function(a,b,d,e,f,g){return c.send({method:"BBC.GardenStatistical.GetClassComplateStatistical",data:{ClassID:a,Year:b,Month:d,Limit:e,UserType:f,Grade:g}})},releaseGardenTopicText:function(a){return c.send({method:"BBC.GardenTopic.ReleaseGardenTopicText",data:{TopicID:a}})},releaseGardenTopicImage:function(a){return c.send({method:"BBC.GardenTopic.ReleaseGardenTopicImage",data:{TopicID:a}})},releaseGardenTopicMultimage:function(a){return c.send({method:"BBC.GardenTopic.ReleaseGardenTopicMultimage",data:{TopicID:a}})}}),b.GardenTopicBase});