Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
Z
ZhiJi-Overseas
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
ZhiJi-Overseas
Commits
70ec9b22
Commit
70ec9b22
authored
Jul 08, 2020
by
lmj_521aiau@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
areacode phone comb
parent
49877d2c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
ZJCareStyle2ViewController.m
ZhiJi/Classes/Care/Controller/ZJCareStyle2ViewController.m
+2
-2
ZJPhoneLoginViewController.m
ZhiJi/Classes/Login/Controller/ZJPhoneLoginViewController.m
+1
-1
ZJMapStyle2ViewController.m
ZhiJi/Classes/Map/Controller/ZJMapStyle2ViewController.m
+1
-1
ZJEmergencyContactViewController.m
...lasses/Mine/Controller/ZJEmergencyContactViewController.m
+1
-1
No files found.
ZhiJi/Classes/Care/Controller/ZJCareStyle2ViewController.m
View file @
70ec9b22
...
...
@@ -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
];
...
...
ZhiJi/Classes/Login/Controller/ZJPhoneLoginViewController.m
View file @
70ec9b22
...
...
@@ -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
);
...
...
ZhiJi/Classes/Map/Controller/ZJMapStyle2ViewController.m
View file @
70ec9b22
...
...
@@ -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
];
...
...
ZhiJi/Classes/Mine/Controller/ZJEmergencyContactViewController.m
View file @
70ec9b22
...
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment