/// <summary> /// 资讯后台管理 /// </summary> /// <param name="siteUrls"></param> public static string ManageContentAttachments(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("ManageContentAttachments", "ControlPanelCms", CmsAreaName)); }
/// <summary> /// 更换群主 /// </summary> /// <returns></returns> public static string _ChangeGroupOwner(this SiteUrls siteUrls, string spaceKey, string returnUrl) { return(CachedUrlHelper.Action("_ChangeGroupOwner", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "returnUrl", WebUtility.UrlEncode(returnUrl) } })); }
/// <summary> /// 设置/取消 群组管理员 /// </summary> /// <param name="groupId">群组Id</param> /// <param name="userId">用户Id</param> /// <param name="isManager">是/否管理员</param> /// <returns></returns> public static string SetManager(this SiteUrls siteUrls, long userId, bool isManager, string spaceKey) { return(CachedUrlHelper.Action("SetManager", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "userId", userId }, { "isManager", isManager } })); }
/// <summary> /// 创建群组 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string CreateGroup(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("Create", "ChannelGroup", GroupAreaName)); }
/// <summary> /// 群组快捷搜索 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string GroupQuickSearch(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("_QuickSearch", "ChannelGroup", GroupAreaName)); }
/// <summary> /// 批量处理申请 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <param name="isApproved"></param> /// <returns></returns> public static string BatchUpdateMemberAuditStatus(this SiteUrls siteUrls, string spaceKey, bool isApproved) { return(CachedUrlHelper.Action("ApproveMemberApply", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "isApproved", isApproved } })); }
/// <summary> /// 删除管理员 /// </summary> /// <param name="siteUrls"></param> /// <param name="groupId"></param> /// <param name="userId"></param> /// <returns></returns> public static string DeleteManager(this SiteUrls siteUrls, string spaceKey, long userId) { return(CachedUrlHelper.Action("DeleteManager", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "userId", userId } })); }
/// <summary> /// 专题快捷搜索 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string TopicQuickSearch(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("_QuickSearch", "ChannelTopic", TopicAreaName)); }
/// <summary> /// 专题搜索自动完成 /// </summary> public static string TopicSearchAutoComplete(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("SearchAutoComplete", "ChannelTopic", TopicAreaName)); }
/// <summary> /// 创建专题 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string CreateTopic(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("Create", "ChannelTopic", TopicAreaName)); }
/// <summary> /// 标签云图 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string TopicTagMap(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("TopicTagMap", "ChannelTopic", TopicAreaName)); }
/// <summary> /// 编辑专题 /// </summary> /// <returns></returns> public static string EditTopic(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("EditTopic", "TopicSpaceSettings", TopicAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 管理员和普通成员 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <returns></returns> public static string MembersOfTopic(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("Members", "TopicSpace", TopicAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 删除申请 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <param name="id">申请Id</param> /// <returns>删除申请链接</returns> public static string DeleteMemberApplyOfTopic(this SiteUrls siteUrls, string spaceKey, long id) { return(CachedUrlHelper.Action("DeleteMemberApply", "TopicSpaceSettings", TopicAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "id", id } })); }
/// <summary> /// 群组资料 /// </summary> /// <param name="spaceKey">群组标识</param> /// <returns></returns> public static string _GroupProfile(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("_GroupProfile", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 退出专题 /// </summary> /// <param name="spaceKey">专题标识</param> /// <returns></returns> public static string _QuitTopic(this SiteUrls siteUrls, long groupId) { return(CachedUrlHelper.Action("_QuitTopic", "ChannelTopic", TopicAreaName, new RouteValueDictionary { { "groupId", groupId } })); }
/// <summary> /// 移除成员 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <param name="groupId"></param> /// <returns></returns> public static string BatchRemoveMember(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("DeleteMember", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 用户加入专题(专题有验证时) /// </summary> /// <param name="spaceKey"></param> /// <param name="siteUrls"></param> /// <returns></returns> public static string _EditApplyOfTopic(this SiteUrls siteUrls, long topicId) { return(CachedUrlHelper.Action("_EditApply", "ChannelTopic", TopicAreaName, new RouteValueDictionary { { "topicId", topicId } })); }
/// <summary> /// 关注的成员 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <returns></returns> public static string MyFollowedUsers(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("MyFollowedUsers", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 查询自lastActivityId以后又有多少动态进入用户的时间线 /// </summary> public static string _GetNewerGroupActivities(this SiteUrls siteUrls, string spaceKey, int?applicationId = null, long?lastActivityId = 0) { return(CachedUrlHelper.Action("_GetNewerActivities", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "applicationId", applicationId }, { "lastActivityId", lastActivityId } })); }
/// <summary> /// 编辑群组 /// </summary> /// <returns></returns> public static string EditGroup(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("EditGroup", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 查询自lastActivityId以后又有多少动态进入用户的时间线 /// </summary> /// <returns></returns> public static string GetNewerGroupActivityCount(this SiteUrls siteUrls, string spaceKey, int?applicationId = null) { return(CachedUrlHelper.Action("GetNewerGroupActivityCount", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "applicationId", applicationId } })); }
/// <summary> /// 标签云图 /// </summary> /// <param name="siteUrls"></param> /// <returns></returns> public static string GroupTagMap(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("GroupTagMap", "ChannelGroup", GroupAreaName)); }
/// <summary> /// 删除群组动态 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <returns></returns> public static string _DeleteGroupActivity(this SiteUrls siteUrls, string spaceKey, long activityId) { return(CachedUrlHelper.Action("_DeleteGroupActivity", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "activityId", activityId } })); }
/// <summary> /// 群组搜索自动完成 /// </summary> public static string GroupSearchAutoComplete(this SiteUrls siteUrls) { return(CachedUrlHelper.Action("SearchAutoComplete", "ChannelGroup", GroupAreaName)); }
/// <summary> /// 设置公告 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <returns></returns> public static string _EditAnnouncement(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("_EditAnnouncement", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 删除申请 /// </summary> /// <param name="Id">申请ID</param> /// <returns></returns> public static string DeleteMemberApply(this SiteUrls siteUrls, long id, string spaceKey) { return(CachedUrlHelper.Action("DeleteMemberApply", "GroupSpaceSettings", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey }, { "id", id } })); }
/// <summary> /// 删除访客记录 /// </summary> /// <param name="siteUrls"></param> /// <param name="spaceKey"></param> /// <returns></returns> public static string DeleteGroupVisitor(this SiteUrls siteUrls, string spaceKey) { return(CachedUrlHelper.Action("DeleteGroupVisitor", "GroupSpace", GroupAreaName, new RouteValueDictionary { { "spaceKey", spaceKey } })); }
/// <summary> /// 用户加入群组(通过问题验证) /// </summary> /// <param name="spaceKey"></param> /// <param name="siteUrls"></param> /// <returns></returns> public static string _ValidateQuestion(this SiteUrls siteUrls, long groupId) { return(CachedUrlHelper.Action("_ValidateQuestion", "ChannelGroup", GroupAreaName, new RouteValueDictionary { { "groupId", groupId } })); }
/// <summary> /// 合并移动资讯栏目 /// </summary> public static string _MoveContentFolder(this SiteUrls siteUrls, int fromContentFolderId = 0, int contentFolderId = 0, string option = "move") { return(CachedUrlHelper.Action("_MoveContentFolder", "ControlPanelCms", CmsAreaName, new RouteValueDictionary { { "fromContentFolderId", fromContentFolderId }, { "contentFolderId", contentFolderId }, { "option", option } })); }