提交 f0523922 authored 作者: huyufan's avatar huyufan

增加阿里人机滑块

上级 d93e8c80
...@@ -2,8 +2,6 @@ package com.clx.performance.controller.pc; ...@@ -2,8 +2,6 @@ package com.clx.performance.controller.pc;
import cn.hutool.json.JSONUtil; import cn.hutool.json.JSONUtil;
import com.clx.performance.service.LargeScreenService; import com.clx.performance.service.LargeScreenService;
import com.clx.performance.service.OrderChildService;
import com.clx.user.feign.DriverFeign;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
...@@ -15,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestParam; ...@@ -15,7 +13,6 @@ import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.util.List;
@Slf4j @Slf4j
@RestController @RestController
......
...@@ -982,7 +982,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -982,7 +982,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
req.setTemplateCode(messageConfig.getCaptchaTemplateCode()); req.setTemplateCode(messageConfig.getCaptchaTemplateCode());
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
//随机生成4位数字 //随机生成4位数字
jsonObject.set("code", (int) (Math.random() * 9000) + 1000); jsonObject.set("code", (int) (Math.random() * 900000) + 100000);
//默认3分钟 //默认3分钟
jsonObject.set("time", "3"); jsonObject.set("time", "3");
req.setChannelId(messageConfig.getChannelId()); req.setChannelId(messageConfig.getChannelId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论