public ServiceResult MoveUser(Guid accountID, string openID, string groupID) { UserManageServiceModel model = new UserManageServiceModel(); OperateStatus status = model.MoveUser(accountID, openID, groupID); return new ServiceResult(status); }
public ServiceResult GetByOpenID(Guid accountID, string openID) { UserManageServiceModel model = new UserManageServiceModel(); OperateStatus status = model.GetByOpenID(accountID, openID); return new ServiceResult(status); }
public ServiceResult CreateGroup(Guid accountID, string name) { UserManageServiceModel model = new UserManageServiceModel(); OperateStatus status = model.CreateGroup(accountID, name); return new ServiceResult(status); }
/// <summary> /// 移动用户 /// </summary> /// <param name="accountID">账号ID</param> /// <param name="openID">OpenID</param> /// <param name="groupID">分组ID</param> /// <returns>操作结果</returns> public OperateStatus MoveUser(Guid accountID, string openID, string groupID) { UserManageServiceModel model = new UserManageServiceModel(); return model.MoveUser(accountID, openID, groupID); }
/// <summary> /// 根据OpenID获取用户信息 /// </summary> /// <param name="accountID">账号ID</param> /// <param name="openID">OpenID</param> /// <returns>操作结果,UserInfo信息</returns> public OperateStatus GetByOpenID(Guid accountID, string openID) { UserManageServiceModel model = new UserManageServiceModel(); return model.GetByOpenID(accountID, openID); }
/// <summary> /// 创建分组 /// </summary> /// <param name="accountID">账号ID</param> /// <param name="name">分组名称</param> /// <returns>操作结果</returns> public OperateStatus CreateGroup(Guid accountID, string name) { UserManageServiceModel model = new UserManageServiceModel(); return model.CreateGroup(accountID, name); }