/// <summary> /// 初始化的方法 /// </summary> public void Init() { if (!ClientZone_Init) { QueryParam qp = new QueryParam(); qp.Where.Add(new SearchParam(Playngo_ClientZone_Event._.ModuleId, Bpm.ModuleId, SearchType.Equal)); if (Playngo_ClientZone_Event.FindCount(qp) == 0)//文章数为0的情况下,才增加默认的文章和分类 { //初始化分类和文章 //Int32 EventID = Playngo_ClientZone_Event.Initialization(Bpm); } Bpm.UpdateModuleSetting("ClientZone_Init", "true"); } }