Skip to content

Commit 0410fe1

Browse files
committed
添加注册渠道号
1 parent ce2c8f0 commit 0410fe1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Coding_iOS/Models/Register.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
// Copyright (c) 2014年 Coding. All rights reserved.
77
//
88

9+
#define kRegisterChannel @"coding-ios"
10+
911
#import "Register.h"
1012

1113
@implementation Register
@@ -22,6 +24,7 @@ - (instancetype)init
2224
- (NSDictionary *)toParams{
2325
return @{@"email" : self.email,
2426
@"global_key" : self.global_key,
25-
@"j_captcha" : _j_captcha? _j_captcha: @""};
27+
@"j_captcha" : _j_captcha? _j_captcha: @"",
28+
@"coding-ios" : kRegisterChannel};
2629
}
2730
@end

0 commit comments

Comments
 (0)