Commit 70ec9b22 authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

areacode phone comb

parent 49877d2c
......@@ -317,7 +317,7 @@
return;
}
[[TQNetworkTools shared] getWithAction:userFind parameters:@{@"phone":phone, @"phoneCode":currentCountryCode} success:^(id _Nonnull response) {
[[TQNetworkTools shared] getWithAction:userFind parameters:@{@"phone":[NSString stringWithFormat:@"%@%@", currentCountryCode, phone], /*@"phoneCode":currentCountryCode*/} success:^(id _Nonnull response) {
if([[response objectForKey:@"status"] integerValue] == 200){
......@@ -455,7 +455,7 @@
- (void)addFriendWithPhone:(NSString *)phone{
[MobClick event:@"add_person"];
[[TQNetworkTools shared] postWithAction:friendPhoneNoInvite parameters:@{@"phoneNo":phone, @"phoneCode":currentCountryCode} success:^(id _Nonnull response) {
[[TQNetworkTools shared] postWithAction:friendPhoneNoInvite parameters:@{@"phoneNo":[NSString stringWithFormat:@"%@%@", currentCountryCode, phone], /*@"phoneCode":currentCountryCode*/} success:^(id _Nonnull response) {
if([[response objectForKey:@"status"] integerValue] == 200){
[MBProgressHUD showSuccess:kLocalizedString(@"location_send_invite") toView:self.view];
......
......@@ -301,7 +301,7 @@
NSString * phone = phoneTextfield.text;
NSString * phoneCode = currentCountryCode;
[[TQNetworkTools shared] postWithAction:loginWithPhone parameters:@{@"phoneNo":phone, @"phoneCode":phoneCode, @"code":codeTextfield.text} success:^(id _Nonnull response) {
[[TQNetworkTools shared] postWithAction:loginWithPhone parameters:@{@"phoneNo":[NSString stringWithFormat:@"%@%@", phoneCode, phone], /*@"phoneCode":phoneCode,*/ @"code":codeTextfield.text} success:^(id _Nonnull response) {
NSLog(@"---------------loginWithPhone %@", response);
......
......@@ -297,7 +297,7 @@
- (void)addFriendWithPhone:(NSString *)phone{
[MobClick event:@"add_person"];
[[TQNetworkTools shared] postWithAction:friendPhoneNoInvite parameters:@{@"phoneNo":phone, @"phoneCode":currentCountryCode} success:^(id _Nonnull response) {
[[TQNetworkTools shared] postWithAction:friendPhoneNoInvite parameters:@{@"phoneNo":[NSString stringWithFormat:@"%@%@", currentCountryCode, phone]/*, @"phoneCode":currentCountryCode*/} success:^(id _Nonnull response) {
if([[response objectForKey:@"status"] integerValue] == 200){
[MBProgressHUD showSuccess:kLocalizedString(@"location_send_invite") toView:self.view];
......
......@@ -250,7 +250,7 @@
return;
}
[[TQNetworkTools shared] postWithAction:addFriendContactByPhoneNo parameters:@{@"phoneNo":phone, @"phoneCode":code} success:^(id _Nonnull response) {
[[TQNetworkTools shared] postWithAction:addFriendContactByPhoneNo parameters:@{@"phoneNo":[NSString stringWithFormat:@"%@%@", code, phone], /*@"phoneCode":code*/} success:^(id _Nonnull response) {
if([[response objectForKey:@"status"] integerValue] == 200){
[self getEmergencyContactList];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment