|
@@ -187,7 +187,7 @@ public class InsCrawlerOrderController extends BaseController {
|
|
|
@ApiOperation(value = "统一发送登录验证码")
|
|
@ApiOperation(value = "统一发送登录验证码")
|
|
|
public HttpResult sendLoginSmsCode(@RequestBody PtlAgreementAttributionDto agreementAttributionDto) {
|
|
public HttpResult sendLoginSmsCode(@RequestBody PtlAgreementAttributionDto agreementAttributionDto) {
|
|
|
JSONObject response = insuranceCrawlerOrderService.sendLoginSmsCode(agreementAttributionDto);
|
|
JSONObject response = insuranceCrawlerOrderService.sendLoginSmsCode(agreementAttributionDto);
|
|
|
- if (response.getInteger("code") == 400){
|
|
|
|
|
|
|
+ if (response.getInteger("code") == 200){
|
|
|
return HttpResult.ok(response.getString("message"),response.getString("secretKey"));
|
|
return HttpResult.ok(response.getString("message"),response.getString("secretKey"));
|
|
|
}else{
|
|
}else{
|
|
|
return HttpResult.error("验证码发送失败");
|
|
return HttpResult.error("验证码发送失败");
|