Commit bfca1600 authored by 曹云霄's avatar 曹云霄

修复发送短信验证码崩溃

parent e3ce2411
......@@ -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]) {
......
......@@ -20,7 +20,7 @@
/**
* 发送验证码
*/
#define SENDSMS @"/system/sendSms?mobilephone=%@&username="
#define SENDSMS @"/system/sendSms?mobilephone=%@&username=%@"
/**
* 重置密码
......
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