Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
Opple-iOS
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
Opple-iOS
Commits
bfca1600
Commit
bfca1600
authored
Jun 14, 2016
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复发送短信验证码崩溃
parent
e3ce2411
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
LoginViewController.m
Lighting/Class/Login/LoginViewController.m
+1
-1
HeaderforURL.h
Lighting/Tools/HeaderforURL.h
+1
-1
No files found.
Lighting/Class/Login/LoginViewController.m
View file @
bfca1600
...
...
@@ -312,7 +312,7 @@
}
[
self
CreateMBProgressHUDLoding
];
//发送验证码
[[
NetworkRequestClassManager
Manager
]
NetworkWithDictionaryRequestWithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
SERVERREQUESTURL
(
SENDSMS
)
,
self
.
identityView
.
userName
.
text
]
WithRequestType
:
1
WithParameter
:
nil
WithReturnValueBlock
:^
(
id
returnValue
)
{
[[
NetworkRequestClassManager
Manager
]
NetworkWithDictionaryRequestWithURL
:[
NSString
stringWithFormat
:
SERVERREQUESTURL
(
SENDSMS
),
inputPhoneNumber
,
self
.
identityView
.
userName
.
text
]
WithRequestType
:
1
WithParameter
:
nil
WithReturnValueBlock
:^
(
id
returnValue
)
{
[
self
RemoveMBProgressHUDLoding
];
if
([
returnValue
[
@"code"
]
isEqualToNumber
:
@0
])
{
...
...
Lighting/Tools/HeaderforURL.h
View file @
bfca1600
...
...
@@ -20,7 +20,7 @@
/**
* 发送验证码
*/
#define SENDSMS @"/system/sendSms?mobilephone=%@&username="
#define SENDSMS @"/system/sendSms?mobilephone=%@&username=
%@
"
/**
* 重置密码
...
...
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