//
//  UserNetApi.h
//  Pods
//
//  Created by gan on 2025/3/24.
//

#ifndef UserNetApi_h
#define UserNetApi_h


#endif /* UserNetApi_h */
#import "GBaseNetApi.h"
@interface UserNetApi : NSObject


//获取邮箱验证码
+ (void)getEmailcode:(NSString *_Nullable)email succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//重置密码获取邮箱验证码
+ (void)getEmailcodereset:(NSString *_Nullable)username succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//注册
+ (void)sign:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//注销账号
+ (void)zhuxiaozhanghao:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//登陆
+ (void)login:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///安全登录
+ (void)securityLogin:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//退出登陆
+ (void)logout:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//获取用户信息
+ (void)getUserinfo:(nullable GSucc)succ fail:(nullable GFail)fail;
//设置用户信息
+ (void)setUserinfo:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;

//根据ID获取用户基本信息
+ (void)getUserinfo_id:(NSString *_Nullable)userid succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//修改密码
+ (void)changePassword:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//重设密码
+ (void)resetPassword:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//修改用户信息
+ (void)changeUserInfo:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//清除 Voip token
+(void)clearVoipTk:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
//清除 推送 token
+(void)clearRegistrationId:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///新增收藏
+(void)addFavorites:(NSDictionary *_Nullable)parameters succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///收藏夹列表
+(void)favoritesListWithType:(NSString *_Nullable)type succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///删除收藏
+(void)deleteFavoritesWithId:(NSString *_Nullable)favoritesId succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///获取聊天设置
+(void)getChatSetting:(NSString *_Nullable)userId succ:(nullable GSucc)succ fail:(nullable GFail)fail;
///更新聊天设置
+(void)updateChatSetting:(NSDictionary *_Nullable)param succ:(nullable GSucc)succ fail:(nullable GFail)fail;


@end
