//
//  MyNetWork.h
//  fastservice
//
//  Created by xuning on 5/6/25.
//  Copyright © 2025 FastService. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MyNetWork : NSObject


//环信登录
+ (void)checkEaseInfo;
//
+ (void)easeLoginWithUsername:(NSString *)name spw:(NSString *)spw;

//用户登录后 加载用户基本信息
+ (void)loginAfterLoadUserProfile:(EventHandler )myNetBlock;

/*
 * 加载单个城市信息
 */
+ (void)loadGroupInfoWithGroupId:(int)group_id myNetBlock:(EventHandler )myNetBlock;

/*
 * 网络请求时 城市和区域参数 提取
 */
+ (NSMutableDictionary *)parameterShowCityAndDistrict:(NSMutableDictionary *)pDic;

#pragma mark -服务器数据是否加载成功
+ (BOOL)isSuccessServerData:(id)responseObject;

#pragma mark -检查更新
+ (void)checkUpdate;


@end

NS_ASSUME_NONNULL_END
