|
|
@@ -166,9 +166,14 @@ public class InsCrawlerOrderController extends BaseController {
|
|
|
YaCrawlerSendSmsCodeResponse result = insuranceCrawlerOrderService.yaSendCode(jsonObject.getString("companyId"),jsonObject.getString("smsCode"));
|
|
|
if(result.getCode() == 200){
|
|
|
return HttpResult.ok("发送成功!");
|
|
|
+ }else if(result.getCode() == 300){
|
|
|
+ // 获取新连接
|
|
|
+ return HttpResult.error(300,result.getMessage());
|
|
|
}else{
|
|
|
return HttpResult.error(result.getMessage());
|
|
|
}
|
|
|
+// return HttpResult.error(300,"https://www.baidu.com/");
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "/yaVerifySendCode")
|
|
|
@@ -183,6 +188,7 @@ public class InsCrawlerOrderController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@PostMapping(value = "/sendLoginSmsCode")
|
|
|
@ApiOperation(value = "统一发送登录验证码")
|
|
|
public HttpResult sendLoginSmsCode(@RequestBody PtlAgreementAttributionDto agreementAttributionDto) {
|