Files
yuyin_ios/SweetParty/主类/Others/NewTools/AFNetworkRequset.h
2025-08-08 11:05:33 +08:00

23 lines
550 B
Objective-C
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// AFNetworkRequset.h
// JiushiMarking
//
// Created by 小收 on 2019/8/16.
// Copyright © 2019 小收. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface AFNetworkRequset : NSObject
+ (instancetype)shared;
///项目统一的网络请求使用默认baseURL
- (void)postRequestWithParams:(nullable NSDictionary *)params Path:(NSString *)path Loading:(BOOL)loading Hud:(BOOL)showHud Success:(void(^)(id responseDic))success Failure:(void(^)(id errorData))failure;
@end
NS_ASSUME_NONNULL_END