コード例 #1
0
 public ServiceResult MoveUser(Guid accountID, string openID, string groupID)
 {
     UserManageServiceModel model = new UserManageServiceModel();
     OperateStatus status = model.MoveUser(accountID, openID, groupID);
     return new ServiceResult(status);
 }
コード例 #2
0
 public ServiceResult GetByOpenID(Guid accountID, string openID)
 {
     UserManageServiceModel model = new UserManageServiceModel();
     OperateStatus status = model.GetByOpenID(accountID, openID);
     return new ServiceResult(status);
 }
コード例 #3
0
 public ServiceResult CreateGroup(Guid accountID, string name)
 {
     UserManageServiceModel model = new UserManageServiceModel();
     OperateStatus status = model.CreateGroup(accountID, name);
     return new ServiceResult(status);
 }
コード例 #4
0
 /// <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);
 }
コード例 #5
0
 /// <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);
 }
コード例 #6
0
 /// <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);
 }