Files
yinmeng-ios/xplan-ios/Main/Message/View/FindNew/Api/Api+FindNew.m

38 lines
1.3 KiB
Mathematica
Raw Normal View History

2022-06-10 20:49:01 +08:00
//
// Api+FindNew.m
// xplan-ios
//
// Created by on 2022/6/10.
//
#import "Api+FindNew.h"
2022-11-11 15:11:14 +08:00
#import "NSMutableDictionary+Saft.h"
2022-06-10 20:49:01 +08:00
@implementation Api (FindNew)
///
+ (void)findNewUser:(HttpRequestHelperCompletion)completion {
2022-11-11 15:11:14 +08:00
NSMutableDictionary * pararms = [NSMutableDictionary dictionary];
[pararms safeSetObject:@"1" forKey:@"page"];
[pararms safeSetObject:@"20" forKey:@"pageSize"];
[HttpRequestHelper request:@"newbie/poolList" method:HttpRequestHelperMethodGET params:pararms completion:completion];
2022-06-10 20:49:01 +08:00
}
2022-06-13 14:26:42 +08:00
///
/// @param completion
/// @param start
/// @param pageSize
+ (void)findNewGreetMessageList:(HttpRequestHelperCompletion)completion start:(NSString *)start pageSize:(NSString *)pageSize {
[self makeRequest:@"newbie/messageList" method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, start, pageSize, nil];
}
///
/// @param completion
/// @param helloUid uid
/// @param message
+ (void)findNewUserGreet:(HttpRequestHelperCompletion)completion helloUid:(NSString *)helloUid message:(NSString *)message {
[self makeRequest:@"newbie/hello" method:HttpRequestHelperMethodPOST completion:completion,__FUNCTION__, helloUid, message, nil];
}
2022-06-10 20:49:01 +08:00
@end