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

36 lines
1.1 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"
@implementation Api (FindNew)
///
+ (void)findNewUser:(HttpRequestHelperCompletion)completion {
NSDictionary * dic = @{@"page":@"1", @"pageSize":@"20"};
[HttpRequestHelper request:@"newbie/poolList" method:HttpRequestHelperMethodGET params:dic completion:completion];
}
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