Commit 08644cfd by suolong

修改验证码问题

parent 42072fcb
...@@ -228,9 +228,12 @@ ...@@ -228,9 +228,12 @@
return; return;
} }
// 组建字典参数 // 组建字典参数;滑动验证通过后需要把 validationId 一并带给后端,否则会重复要求人机验证。
NSDictionary *params = @{@"phone":phone, NSMutableDictionary *params = [@{@"phone":phone,
@"countrycode":countrycode}; @"countrycode":countrycode} mutableCopy];
if (![NSString isNull:captchaId]) {
params[@"validationId"] = captchaId;
}
// 请求网络上传图片 // 请求网络上传图片
[FUSHttpHelper postRequestBinaryWithUrl:FUSUserCenterURLs.fus_FUS_URL_GET_VERIFY_CODE params:params success:^(NSDictionary *dataDict, int code) { [FUSHttpHelper postRequestBinaryWithUrl:FUSUserCenterURLs.fus_FUS_URL_GET_VERIFY_CODE params:params success:^(NSDictionary *dataDict, int code) {
......
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 sign in to comment