Files
real-e-party-iOS/YuMi/Modules/YMMine/Api/Api+GameOrder.m
edwinQQQ a35a711be6 chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00

40 lines
1.4 KiB
Objective-C

//
// Api+GameOrder.m
// YuMi
//
// Created by P on 2024/7/10.
//
#import "Api+GameOrder.h"
@implementation Api (GameOrder)
+ (void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion
uid:(NSString *)uid {
[self makeRequest:@"gamePartnerInfo/list"
method:HttpRequestHelperMethodGET
completion:completion, __FUNCTION__, uid, nil];
}
+ (void)requestGameOrderRecord:(HttpRequestHelperCompletion)completion
currSize:(NSInteger)currSize
pageSize:(NSInteger)pageSize
searchType:(NSInteger)searchType
uid:(NSString *)uid {
[self makeRequest:@"gamePartnerOrder/record"
method:HttpRequestHelperMethodGET
completion:completion, __FUNCTION__, @(currSize).stringValue, @(pageSize).stringValue, @(searchType).stringValue, uid, nil];
}
+ (void)requestGameOrder:(HttpRequestHelperCompletion)completion
gameId:(NSInteger)gameId
gameUid:(NSInteger)gameUid
inning:(NSInteger)inning
uid:(NSString *)uid {
[self makeRequest:@"gamePartnerOrder/submit"
method:HttpRequestHelperMethodPOST
completion:completion, __FUNCTION__, @(gameId).stringValue, @(gameUid).stringValue, @(inning).stringValue, uid, nil];
}
@end